Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.651/2.651, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001363/0.001363, allocations: 187.5 kB / 0.4902 GB, free: 2.219 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.517/1.517, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.001233/0.001233, allocations: 104.2 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 10.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3075, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.5423, allocations: 150.4 MB / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.5426, allocations: 79.95 kB / 1.376 GB, free: 2.938 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.006461/0.549, allocations: 2.269 MB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5491, allocations: 0 / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5491, allocations: 0 / 1.378 GB, free: 0.668 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.0003837/0.5495, allocations: 385.8 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5495, allocations: 8.562 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.5496, allocations: 42.47 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.5496, allocations: 7.953 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.5498, allocations: 171 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5498, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.5498, allocations: 4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.5499, allocations: 41.62 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.5499, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.5499, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5499, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.55, allocations: 7.984 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.5503, allocations: 252.9 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.117e-05/0.5504, allocations: 34.56 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5504, allocations: 3.984 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.5505, allocations: 67.44 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.5505, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0002041/0.5508, allocations: 69.58 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5508, allocations: 63.36 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.5509, allocations: 89 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5509, allocations: 25.7 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.5509, allocations: 92.06 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.551, allocations: 7.906 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.551, allocations: 4 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5511, allocations: 314.8 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.5511, allocations: 15.98 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.5512, allocations: 35.42 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.5512, allocations: 7.984 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5512, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.94e-05/0.5513, allocations: 81.53 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5513, allocations: 4 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5513, allocations: 160 / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5514, allocations: 7.938 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.5514, allocations: 11.98 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5514, allocations: 3.984 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.5515, allocations: 7.891 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.5515, allocations: 4 kB / 1.38 GB, free: 14.59 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.764e-05/0.5516, allocations: 121.8 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.5516, allocations: 3.906 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.5516, allocations: 3.812 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5516, allocations: 4 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5516, allocations: 4 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5516, allocations: 3.984 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.5519, allocations: 298.5 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5519, allocations: 4 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.5519, allocations: 0 / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5519, allocations: 0 / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.552, allocations: 11.98 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.552, allocations: 3.938 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.552, allocations: 3.953 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.5521, allocations: 155.5 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.5522, allocations: 81.11 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5522, allocations: 3.984 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.5522, allocations: 4 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.5523, allocations: 4 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.5523, allocations: 3.953 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.5523, allocations: 87.53 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5523, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000276/0.5526, allocations: 40 kB / 1.381 GB, free: 13.67 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.0006983/0.5533, allocations: 0.7935 MB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.5534, allocations: 24 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5534, allocations: 0 / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.5535, allocations: 19.92 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.5536, allocations: 3.938 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.5543, allocations: 0.8133 MB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.5545, allocations: 0.6848 MB / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.5545, allocations: 0 / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.5546, allocations: 19.42 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of SimCode: time 3.717e-06/0.5546, allocations: 0 / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.5678, allocations: 1.928 MB / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.568, allocations: 222.1 kB / 1.385 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.24, allocations: 3.938 kB / 1.385 GB, free: 9.164 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat does not exist to compare? outputFormat=mat