Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 387.1 MB / 399.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 169 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.795/1.795, allocations: 221.3 MB / 0.7871 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009879/0.0009885, allocations: 97.59 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.507e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2859, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.387/1.673, allocations: 149.5 MB / 1.358 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/1.673, allocations: 73.84 kB / 1.359 GB, free: 18.91 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008544/1.682, allocations: 2.299 MB / 1.361 GB, free: 34.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.835e-06/1.682, allocations: 0 / 1.361 GB, free: 34.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.259e-05/1.682, allocations: 0 / 1.361 GB, free: 34.51 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005813/1.682, allocations: 385.9 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.915e-05/1.682, allocations: 7.688 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.377e-05/1.682, allocations: 36.48 kB / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/1.683, allocations: 7.828 kB / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.683, allocations: 168.6 kB / 1.361 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/1.683, allocations: 3.125 kB / 1.361 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/1.683, allocations: 3.875 kB / 1.361 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/1.683, allocations: 44.95 kB / 1.361 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.683, allocations: 0 / 1.361 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/1.683, allocations: 5.719 kB / 1.361 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.683, allocations: 0 / 1.361 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.955e-05/1.683, allocations: 3.844 kB / 1.361 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/1.683, allocations: 256 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/1.684, allocations: 34.75 kB / 1.362 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/1.684, allocations: 16.34 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.684, allocations: 3.844 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/1.684, allocations: 62.58 kB / 1.362 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 2.765e-06/1.684, allocations: 0 / 1.362 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002232/1.684, allocations: 63.22 kB / 1.362 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.684, allocations: 60.64 kB / 1.362 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.684, allocations: 100.5 kB / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/1.684, allocations: 29.58 kB / 1.362 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/1.684, allocations: 80.14 kB / 1.362 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/1.684, allocations: 20.48 kB / 1.362 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/1.684, allocations: 0 / 1.362 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.684, allocations: 319.6 kB / 1.362 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/1.684, allocations: 11.31 kB / 1.362 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/1.685, allocations: 36.31 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/1.685, allocations: 11.25 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.685, allocations: 0 / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000129/1.685, allocations: 80.91 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.685, allocations: 3.844 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.685, allocations: 3.844 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.685, allocations: 0 / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/1.685, allocations: 10.52 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.685, allocations: 0 / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/1.685, allocations: 10.48 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/1.685, allocations: 0 / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/1.685, allocations: 109.9 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/1.685, allocations: 11.81 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/1.685, allocations: 4.094 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.685, allocations: 0.625 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.685, allocations: 0 / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.685, allocations: 1.922 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/1.685, allocations: 306.2 kB / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.685, allocations: 3.984 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/1.685, allocations: 0 / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.686, allocations: 3.844 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/1.686, allocations: 5.438 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.686, allocations: 4.375 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.686, allocations: 3.953 kB / 1.363 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/1.686, allocations: 165.8 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/1.686, allocations: 81.02 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/1.686, allocations: 7.031 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/1.686, allocations: 2.016 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/1.686, allocations: 0 / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/1.686, allocations: 13.53 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.809e-05/1.686, allocations: 82.75 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.9e-07/1.686, allocations: 0 / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004051/1.686, allocations: 48.48 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/1.687, allocations: 0.7826 MB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001417/1.688, allocations: 31.16 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.688, allocations: 0 / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/1.688, allocations: 20.14 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/1.688, allocations: 0 / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/1.688, allocations: 142.4 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/1.689, allocations: 0.6855 MB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.084e-05/1.689, allocations: 1.688 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/1.689, allocations: 18.45 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.689, allocations: 0 / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/1.705, allocations: 2.042 MB / 1.367 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/1.705, allocations: 197.4 kB / 1.367 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/3.449, allocations: 4 kB / 1.367 GB, free: 29.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat does not exist to compare? outputFormat=mat