Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",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.216/2.216, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001221/0.001221, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.618/1.618, allocations: 223.1 MB / 0.7948 GB, free: 17.84 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.0009687/0.0009687, allocations: 103.9 kB / 0.9346 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.000371, allocations: 8.812 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2914, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.4798, allocations: 150.8 MB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.4801, allocations: 91.86 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.4958, allocations: 5.488 MB / 1.376 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4959, allocations: 0 / 1.376 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.4959, allocations: 8 kB / 1.376 GB, free: 5.52 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009252/0.4969, allocations: 0.564 MB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4969, allocations: 16.03 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.497, allocations: 46.55 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.4971, allocations: 43.66 kB / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4976, allocations: 258.2 kB / 1.377 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.4976, allocations: 28.31 kB / 1.377 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.4977, allocations: 32 kB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.498, allocations: 177.5 kB / 1.377 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4981, allocations: 0 / 1.377 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.4981, allocations: 15.97 kB / 1.377 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.4981, allocations: 7.953 kB / 1.377 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.4983, allocations: 120.5 kB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.4995, allocations: 0.621 MB / 1.378 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.4999, allocations: 206.7 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4999, allocations: 4 kB / 1.378 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/0.5005, allocations: 263 kB / 1.378 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 2.805e-06/0.5005, allocations: 0 / 1.378 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0008268/0.5013, allocations: 428.4 kB / 1.378 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.5014, allocations: 67.39 kB / 1.378 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.5016, allocations: 181.8 kB / 1.379 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.5017, allocations: 49.69 kB / 1.379 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5018, allocations: 128.8 kB / 1.379 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.134e-05/0.5019, allocations: 90.94 kB / 1.379 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.502, allocations: 12 kB / 1.379 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5022, allocations: 342.8 kB / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.5025, allocations: 157 kB / 1.379 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.5029, allocations: 275.3 kB / 1.38 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.5033, allocations: 241 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5033, allocations: 4 kB / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001095/0.5044, allocations: 0.6033 MB / 1.38 GB, free: 272 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.5045, allocations: 101.1 kB / 1.381 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5046, allocations: 8.312 kB / 1.381 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.5046, allocations: 15.95 kB / 1.381 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.5048, allocations: 43.91 kB / 1.381 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.5048, allocations: 11.94 kB / 1.381 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.5054, allocations: 127.8 kB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.5055, allocations: 27.98 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0002361/0.5058, allocations: 187 kB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.5058, allocations: 23.72 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.5059, allocations: 26.64 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.5059, allocations: 7.953 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5059, allocations: 0 / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5059, allocations: 4 kB / 1.381 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.5069, allocations: 0.7205 MB / 1.382 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5069, allocations: 0 / 1.382 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.507, allocations: 12 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.507, allocations: 3.953 kB / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.507, allocations: 11.98 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.507, allocations: 7.938 kB / 1.382 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.507, allocations: 0 / 1.382 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.5076, allocations: 440 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.5077, allocations: 104.8 kB / 1.382 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.5078, allocations: 15.94 kB / 1.382 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.5079, allocations: 11.98 kB / 1.382 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.508, allocations: 23.97 kB / 1.382 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.508, allocations: 19.98 kB / 1.382 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001135/0.5081, allocations: 120.1 kB / 1.382 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5081, allocations: 0 / 1.382 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004767/0.5086, allocations: 104.1 kB / 1.383 GB, free: 14 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: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.001068/0.5097, allocations: 1.006 MB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000852/0.5106, allocations: 0.5582 MB / 1.384 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5106, allocations: 0 / 1.384 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.5108, allocations: 151.6 kB / 1.384 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.5112, allocations: 33.66 kB / 1.384 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.5137, allocations: 3.06 MB / 1.387 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.5141, allocations: 0.749 MB / 1.388 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.5143, allocations: 30.97 kB / 1.388 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.5144, allocations: 71.41 kB / 1.388 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.5144, allocations: 0 / 1.388 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.5365, allocations: 5.577 MB / 1.394 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.5368, allocations: 191.6 kB / 1.394 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.541, allocations: 0 / 1.394 GB, free: 2.5 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat