Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.374/2.374, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001001/0.001001, allocations: 169.2 kB / 498.1 MB, free: 5.762 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.465/1.465, allocations: 223.2 MB / 0.7948 GB, free: 18.92 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.0008577/0.0008578, allocations: 88.28 kB / 0.9346 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 7.781 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2795, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4667, allocations: 149.6 MB / 1.369 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.467, allocations: 79.95 kB / 1.369 GB, free: 3.668 MB / 0.8698 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.006609/0.4737, allocations: 2.309 MB / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.083e-06/0.4737, allocations: 0 / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.4737, allocations: 0 / 1.371 GB, free: 1.355 MB / 0.8698 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.0004332/0.4741, allocations: 398.8 kB / 1.372 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4742, allocations: 8.031 kB / 1.372 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.218e-05/0.4743, allocations: 34.55 kB / 1.372 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.4743, allocations: 11.86 kB / 1.372 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.4744, allocations: 163 kB / 1.372 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.4745, allocations: 11.94 kB / 1.372 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4745, allocations: 4 kB / 1.372 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4746, allocations: 45.61 kB / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4746, allocations: 0 / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4746, allocations: 4 kB / 1.372 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4746, allocations: 0 / 1.372 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.4747, allocations: 7.953 kB / 1.372 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.475, allocations: 245 kB / 1.372 GB, free: 292 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.4751, allocations: 46.5 kB / 1.372 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.4751, allocations: 0 / 1.372 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.4753, allocations: 59.48 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.4753, allocations: 0 / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.000211/0.4755, allocations: 77.58 kB / 1.372 GB, free: 80 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4755, allocations: 59.41 kB / 1.372 GB, free: 8 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.4756, allocations: 100.9 kB / 1.373 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4756, allocations: 29.7 kB / 1.373 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.4757, allocations: 80.14 kB / 1.373 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.4757, allocations: 11.91 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4757, allocations: 3.938 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4758, allocations: 318.8 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.4759, allocations: 8 kB / 1.373 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.4759, allocations: 35.42 kB / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.4759, allocations: 12 kB / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.476, allocations: 0 / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001161/0.4761, allocations: 85.44 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4761, allocations: 4 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4761, allocations: 0 / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4761, allocations: 4.062 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.4762, allocations: 12 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4762, allocations: 4.109 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.4762, allocations: 7.938 kB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4762, allocations: 4 kB / 1.373 GB, free: 15.26 MB / 0.8855 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 () * Number of clocked 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.794e-05/0.4763, allocations: 117.9 kB / 1.373 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.4764, allocations: 3.906 kB / 1.373 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.4764, allocations: 11.97 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4764, allocations: 0 / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4764, allocations: 4 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4764, allocations: 3.953 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.4767, allocations: 294.6 kB / 1.374 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4767, allocations: 0 / 1.374 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.4767, allocations: 7.938 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4767, allocations: 0 / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4767, allocations: 0 / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4767, allocations: 3.984 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4768, allocations: 7.938 kB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.4769, allocations: 164 kB / 1.374 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.477, allocations: 85.02 kB / 1.374 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.477, allocations: 4.062 kB / 1.374 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.477, allocations: 3.984 kB / 1.374 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.4771, allocations: 11.95 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4771, allocations: 0 / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.725e-05/0.4771, allocations: 83.28 kB / 1.374 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4771, allocations: 0 / 1.374 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002887/0.4774, allocations: 55.92 kB / 1.374 GB, free: 14.31 MB / 0.8855 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 () * Number of clocked 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.0007455/0.4782, allocations: 0.7799 MB / 1.375 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.4783, allocations: 39.91 kB / 1.375 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4783, allocations: 0 / 1.375 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.4784, allocations: 15.98 kB / 1.375 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.4785, allocations: 1.406 kB / 1.375 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.4793, allocations: 0.825 MB / 1.376 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.4795, allocations: 0.6809 MB / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.4796, allocations: 3.984 kB / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.4796, allocations: 19.44 kB / 1.376 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of SimCode: time 1.883e-06/0.4796, allocations: 0 / 1.376 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.4929, allocations: 2.018 MB / 1.378 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.4931, allocations: 224.7 kB / 1.378 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.982, allocations: 0 / 1.378 GB, free: 9.711 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat does not exist to compare? outputFormat=mat