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.395/2.395, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001342/0.001342, allocations: 184.8 kB / 492.3 MB, free: 0.625 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.87/1.87, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.001018/0.001017, allocations: 92.81 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.635e-05, allocations: 6.578 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3369, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.644, allocations: 150.7 MB / 1.36 GB, free: 18.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.645, allocations: 80.09 kB / 1.36 GB, free: 18.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01643/1.661, allocations: 5.467 MB / 1.365 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.955e-06/1.661, allocations: 0 / 1.365 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.045e-05/1.661, allocations: 7.469 kB / 1.365 GB, free: 34.18 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.001079/1.662, allocations: 0.5485 MB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/1.662, allocations: 11.56 kB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/1.663, allocations: 46.69 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/1.663, allocations: 45.91 kB / 1.366 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/1.663, allocations: 257 kB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/1.663, allocations: 37.02 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/1.663, allocations: 38 kB / 1.366 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/1.664, allocations: 169.5 kB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.664, allocations: 0 / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/1.664, allocations: 15.42 kB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.664, allocations: 3.844 kB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/1.664, allocations: 108.8 kB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/1.665, allocations: 0.6283 MB / 1.367 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/1.666, allocations: 203.7 kB / 1.367 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/1.666, allocations: 81.28 kB / 1.367 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/1.666, allocations: 0 / 1.367 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/1.666, allocations: 261.4 kB / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.605e-06/1.666, allocations: 0 / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006026/1.667, allocations: 334.6 kB / 1.368 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/1.667, allocations: 64.38 kB / 1.368 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/1.667, allocations: 182.8 kB / 1.368 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/1.667, allocations: 46.12 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.667, allocations: 130.6 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/1.667, allocations: 84.73 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/1.667, allocations: 17.81 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.668, allocations: 337.6 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/1.668, allocations: 151.5 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/1.668, allocations: 271.2 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/1.669, allocations: 241.4 kB / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.669, allocations: 0 / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009437/1.67, allocations: 0.5957 MB / 1.37 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.225e-05/1.67, allocations: 102.9 kB / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.67, allocations: 8.172 kB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/1.67, allocations: 11.81 kB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/1.67, allocations: 43.92 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.67, allocations: 7.812 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/1.67, allocations: 124.8 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/1.671, allocations: 33.97 kB / 1.37 GB, free: 31.71 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.0001727/1.671, allocations: 163.9 kB / 1.37 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/1.671, allocations: 30.42 kB / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/1.671, allocations: 22.62 kB / 1.37 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.671, allocations: 7.766 kB / 1.37 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.671, allocations: 0 / 1.37 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.671, allocations: 3.375 kB / 1.37 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009008/1.672, allocations: 0.7227 MB / 1.371 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.672, allocations: 4 kB / 1.371 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/1.672, allocations: 18.31 kB / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.672, allocations: 3.953 kB / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/1.672, allocations: 9.766 kB / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.672, allocations: 0 / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.672, allocations: 3.875 kB / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/1.672, allocations: 430.1 kB / 1.372 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/1.672, allocations: 96.48 kB / 1.372 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/1.673, allocations: 23.3 kB / 1.372 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/1.673, allocations: 10.08 kB / 1.372 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/1.673, allocations: 30.31 kB / 1.372 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/1.673, allocations: 21.59 kB / 1.372 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001039/1.673, allocations: 123.9 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.673, allocations: 0 / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004848/1.673, allocations: 104.8 kB / 1.372 GB, free: 30.88 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.0009618/1.674, allocations: 0.9992 MB / 1.373 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007811/1.675, allocations: 0.5464 MB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.675, allocations: 4.062 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/1.675, allocations: 142.5 kB / 1.374 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/1.676, allocations: 33.16 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/1.677, allocations: 375.2 kB / 1.374 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/1.677, allocations: 0.7497 MB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001116/1.677, allocations: 33.67 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.677, allocations: 69.89 kB / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/1.677, allocations: 0 / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/1.701, allocations: 5.692 MB / 1.38 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.701, allocations: 164.6 kB / 1.381 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/3.778, allocations: 7.906 kB / 1.381 GB, free: 28.37 MB / 0.8386 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