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.575/2.575, allocations: 390.5 MB / 398 MB, free: 10.97 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.001525/0.001524, allocations: 175.8 kB / 491.2 MB, free: 1.582 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.716/1.716, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.00122/0.00122, allocations: 90.25 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.133e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3834, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.658, allocations: 150.9 MB / 1.36 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/1.658, allocations: 80.2 kB / 1.36 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0162/1.674, allocations: 5.438 MB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.495e-06/1.675, allocations: 0 / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.934e-05/1.675, allocations: 4.188 kB / 1.365 GB, free: 32.75 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007886/1.675, allocations: 0.554 MB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.675, allocations: 11.69 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.676, allocations: 41.56 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/1.676, allocations: 255.2 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/1.676, allocations: 10.23 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/1.676, allocations: 29.84 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002245/1.676, allocations: 96.19 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/1.677, allocations: 147.2 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.677, allocations: 0.6562 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/1.677, allocations: 9.25 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.677, allocations: 7.922 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/1.678, allocations: 0.5911 MB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/1.678, allocations: 187.1 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.713e-05/1.678, allocations: 71.08 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/1.678, allocations: 7.75 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/1.678, allocations: 248.2 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.916e-06/1.678, allocations: 0 / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005173/1.679, allocations: 306.6 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.679, allocations: 66.53 kB / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/1.679, allocations: 160.4 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/1.679, allocations: 39.12 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/1.679, allocations: 134.3 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/1.679, allocations: 80.81 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/1.679, allocations: 11.53 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.68, allocations: 335 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/1.68, allocations: 138.2 kB / 1.369 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/1.68, allocations: 251.1 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/1.681, allocations: 168.7 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.681, allocations: 0 / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009434/1.682, allocations: 495.2 kB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/1.682, allocations: 103.1 kB / 1.37 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.682, allocations: 3.812 kB / 1.37 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/1.682, allocations: 7.688 kB / 1.37 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/1.682, allocations: 46.06 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.682, allocations: 7.297 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/1.683, allocations: 124 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/1.683, allocations: 34.36 kB / 1.37 GB, free: 30.55 MB / 0.8386 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 () * 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.0001817/1.683, allocations: 151.1 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003773/1.683, allocations: 300.6 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/1.683, allocations: 23.12 kB / 1.37 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/1.683, allocations: 34.14 kB / 1.37 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.683, allocations: 3.906 kB / 1.37 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.683, allocations: 0 / 1.37 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.683, allocations: 0 / 1.37 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/1.684, allocations: 0.6433 MB / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.684, allocations: 0 / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/1.684, allocations: 18.25 kB / 1.371 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.684, allocations: 11.89 kB / 1.371 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/1.684, allocations: 18.14 kB / 1.371 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.684, allocations: 3.844 kB / 1.371 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.684, allocations: 0 / 1.371 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/1.685, allocations: 390.9 kB / 1.371 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/1.685, allocations: 99.45 kB / 1.371 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/1.685, allocations: 13.62 kB / 1.371 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/1.685, allocations: 13.12 kB / 1.371 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/1.685, allocations: 32.86 kB / 1.371 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/1.685, allocations: 22.42 kB / 1.371 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.968e-05/1.685, allocations: 115.2 kB / 1.372 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.685, allocations: 0 / 1.372 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003727/1.686, allocations: 86.72 kB / 1.372 GB, free: 29.7 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: 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) * 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.0008823/1.686, allocations: 0.954 MB / 1.373 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006286/1.687, allocations: 0.5135 MB / 1.373 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.687, allocations: 3.875 kB / 1.373 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/1.687, allocations: 130.3 kB / 1.373 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/1.688, allocations: 32.89 kB / 1.373 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/1.688, allocations: 344.9 kB / 1.374 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/1.689, allocations: 0.7472 MB / 1.374 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.788e-05/1.689, allocations: 35.66 kB / 1.374 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/1.689, allocations: 70.53 kB / 1.374 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.689, allocations: 0 / 1.374 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/1.72, allocations: 5.172 MB / 1.379 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/1.72, allocations: 155 kB / 1.38 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/3.816, allocations: 4 kB / 1.38 GB, free: 27.34 MB / 0.8386 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