Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.503/2.503, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001024/0.001024, allocations: 170.6 kB / 0.4901 GB, free: 2.258 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.593/1.593, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009741/0.0009739, allocations: 99.53 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 9.812 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3041, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5055, allocations: 151.6 MB / 1.377 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5058, allocations: 79.95 kB / 1.377 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.5224, allocations: 5.486 MB / 1.383 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.486e-06/0.5225, allocations: 0 / 1.383 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.463e-05/0.5225, allocations: 8 kB / 1.383 GB, free: 7.988 MB / 0.8855 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.001016/0.5235, allocations: 0.568 MB / 1.383 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5236, allocations: 8.562 kB / 1.383 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.602e-05/0.5237, allocations: 54.55 kB / 1.383 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.5238, allocations: 43.66 kB / 1.383 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.5243, allocations: 259.4 kB / 1.384 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.5243, allocations: 20.31 kB / 1.384 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.5244, allocations: 39.98 kB / 1.384 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.5248, allocations: 172.2 kB / 1.384 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5248, allocations: 0 / 1.384 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.5248, allocations: 7.984 kB / 1.384 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5248, allocations: 7.953 kB / 1.384 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.525, allocations: 120.5 kB / 1.384 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.5262, allocations: 0.6288 MB / 1.385 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.5265, allocations: 199.5 kB / 1.385 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.5265, allocations: 0 / 1.385 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004523/0.527, allocations: 278.8 kB / 1.385 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.527, allocations: 0 / 1.385 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.0007931/0.5278, allocations: 424.8 kB / 1.386 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5278, allocations: 63.39 kB / 1.386 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.528, allocations: 181.9 kB / 1.386 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.5281, allocations: 45.7 kB / 1.386 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.5282, allocations: 136.8 kB / 1.386 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.5283, allocations: 82.95 kB / 1.386 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.5284, allocations: 16 kB / 1.386 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5285, allocations: 342.8 kB / 1.386 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.5289, allocations: 161 kB / 1.387 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.5293, allocations: 275.2 kB / 1.387 GB, free: 3.621 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.5297, allocations: 245.8 kB / 1.387 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.5297, allocations: 3.984 kB / 1.387 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009858/0.5307, allocations: 0.5956 MB / 1.388 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.5308, allocations: 97.09 kB / 1.388 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5308, allocations: 8.359 kB / 1.388 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.5308, allocations: 15.95 kB / 1.388 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.531, allocations: 43.86 kB / 1.388 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.531, allocations: 7.938 kB / 1.388 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.5316, allocations: 131.7 kB / 1.388 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.5317, allocations: 35.98 kB / 1.388 GB, free: 2.387 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.0001983/0.5319, allocations: 175 kB / 1.388 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.532, allocations: 27.7 kB / 1.388 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.532, allocations: 26.66 kB / 1.388 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.532, allocations: 11.89 kB / 1.388 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5321, allocations: 0 / 1.388 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5321, allocations: 3.984 kB / 1.388 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009831/0.5331, allocations: 0.7215 MB / 1.389 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5331, allocations: 0 / 1.389 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.5331, allocations: 12 kB / 1.389 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.5332, allocations: 7.953 kB / 1.389 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5332, allocations: 11.98 kB / 1.389 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5332, allocations: 3.984 kB / 1.389 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5332, allocations: 0 / 1.389 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005249/0.5337, allocations: 435 kB / 1.389 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.5338, allocations: 100.8 kB / 1.389 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.5339, allocations: 20.03 kB / 1.389 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.534, allocations: 15.92 kB / 1.389 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.5341, allocations: 19.97 kB / 1.389 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.5341, allocations: 19.98 kB / 1.389 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001035/0.5342, allocations: 132.1 kB / 1.39 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5342, allocations: 0 / 1.39 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004269/0.5346, allocations: 95.94 kB / 1.39 GB, free: 476 kB / 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.001094/0.5357, allocations: 0.9951 MB / 1.391 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.5366, allocations: 0.5572 MB / 1.391 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5366, allocations: 0 / 1.391 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.5369, allocations: 155.8 kB / 1.391 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.5372, allocations: 36.5 kB / 1.391 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.5396, allocations: 3.064 MB / 1.394 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.5401, allocations: 0.7606 MB / 1.395 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.5402, allocations: 26.97 kB / 1.395 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.5403, allocations: 67.42 kB / 1.395 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/0.5403, allocations: 0 / 1.395 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.5596, allocations: 5.586 MB / 1.401 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.5598, allocations: 191 kB / 1.401 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.481, allocations: 0 / 1.401 GB, free: 4.98 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat