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.161/2.161, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001163/0.001163, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001067/0.001067, allocations: 95.95 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.766e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3303, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.349, allocations: 151.6 MB / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.349, allocations: 79.08 kB / 1.367 GB, free: 2.457 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01563/1.365, allocations: 5.467 MB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.582e-06/1.365, allocations: 0 / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.534e-05/1.365, allocations: 4 kB / 1.372 GB, free: 13.7 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.0006969/1.366, allocations: 0.5514 MB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/1.366, allocations: 12.03 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/1.366, allocations: 53.09 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/1.366, allocations: 39.67 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/1.366, allocations: 252.6 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/1.366, allocations: 27.06 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/1.366, allocations: 34.81 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/1.367, allocations: 177.3 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.367, allocations: 4 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.367, allocations: 11.36 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/1.367, allocations: 7.953 kB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/1.367, allocations: 105.9 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009705/1.368, allocations: 0.6318 MB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/1.368, allocations: 200.2 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.368, allocations: 77.42 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/1.368, allocations: 352 / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/1.369, allocations: 265.1 kB / 1.375 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/1.369, allocations: 0 / 1.375 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005171/1.369, allocations: 336.5 kB / 1.375 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.369, allocations: 59.41 kB / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/1.37, allocations: 178.7 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/1.37, allocations: 46.95 kB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/1.37, allocations: 137.4 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/1.37, allocations: 80.89 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/1.37, allocations: 19.05 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.37, allocations: 340.5 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/1.37, allocations: 147.7 kB / 1.376 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/1.371, allocations: 276.5 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/1.371, allocations: 240.1 kB / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.371, allocations: 0 / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008717/1.372, allocations: 0.5965 MB / 1.377 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/1.372, allocations: 111.9 kB / 1.377 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.372, allocations: 0 / 1.377 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.372, allocations: 8 kB / 1.377 GB, free: 9.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/1.372, allocations: 43.67 kB / 1.377 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.372, allocations: 8 kB / 1.377 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/1.373, allocations: 131.2 kB / 1.377 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/1.373, allocations: 35.28 kB / 1.377 GB, free: 8.988 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.0001602/1.373, allocations: 156.3 kB / 1.377 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/1.373, allocations: 35.7 kB / 1.378 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/1.373, allocations: 29.05 kB / 1.378 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.373, allocations: 0 / 1.378 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.373, allocations: 4 kB / 1.378 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.373, allocations: 3.984 kB / 1.378 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000859/1.374, allocations: 0.7054 MB / 1.378 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.374, allocations: 3.953 kB / 1.378 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/1.374, allocations: 23.06 kB / 1.378 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.374, allocations: 3.938 kB / 1.378 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.374, allocations: 10.98 kB / 1.378 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.374, allocations: 7.984 kB / 1.378 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.374, allocations: 0 / 1.378 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/1.375, allocations: 424 kB / 1.379 GB, free: 7.734 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/1.375, allocations: 100.9 kB / 1.379 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/1.375, allocations: 18.92 kB / 1.379 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/1.375, allocations: 23.84 kB / 1.379 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/1.375, allocations: 19.59 kB / 1.379 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.375, allocations: 18.8 kB / 1.379 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.04e-05/1.375, allocations: 135.3 kB / 1.379 GB, free: 7.438 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.375, allocations: 0 / 1.379 GB, free: 7.438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003621/1.375, allocations: 101.9 kB / 1.379 GB, free: 7.352 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.0008354/1.376, allocations: 1 MB / 1.38 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006959/1.377, allocations: 0.5411 MB / 1.381 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.377, allocations: 0 / 1.381 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/1.377, allocations: 139.8 kB / 1.381 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.377, allocations: 37.34 kB / 1.381 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/1.378, allocations: 382.2 kB / 1.381 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/1.379, allocations: 0.7567 MB / 1.382 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.801e-05/1.379, allocations: 26.97 kB / 1.382 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.379, allocations: 75.59 kB / 1.382 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.379, allocations: 0 / 1.382 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/1.398, allocations: 5.687 MB / 1.388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.399, allocations: 173.8 kB / 1.388 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/3.189, allocations: 3.375 kB / 1.388 GB, free: 14.88 MB / 0.8542 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