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.331/2.331, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001294/0.001293, allocations: 188.7 kB / 487.4 MB, free: 5.035 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.54/1.54, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009146/0.0009145, allocations: 99.02 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.539e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8363/1.109, allocations: 150.1 MB / 1.353 GB, free: 18.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.109, allocations: 83.58 kB / 1.353 GB, free: 18.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01634/1.125, allocations: 5.434 MB / 1.358 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.125, allocations: 0 / 1.358 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.126, allocations: 7.875 kB / 1.358 GB, free: 33.52 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.0007612/1.126, allocations: 0.551 MB / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/1.126, allocations: 7.844 kB / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/1.126, allocations: 40.61 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/1.127, allocations: 253.4 kB / 1.359 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/1.127, allocations: 12.88 kB / 1.359 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/1.127, allocations: 33.83 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002018/1.127, allocations: 93.03 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/1.127, allocations: 154.2 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.127, allocations: 0 / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/1.127, allocations: 9.891 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.127, allocations: 3.875 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/1.128, allocations: 0.5926 MB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/1.129, allocations: 175.4 kB / 1.36 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/1.129, allocations: 76.8 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/1.129, allocations: 3.875 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/1.129, allocations: 252.8 kB / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/1.129, allocations: 0 / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005648/1.13, allocations: 311.1 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/1.13, allocations: 63.45 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/1.13, allocations: 159.8 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/1.13, allocations: 49.3 kB / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/1.13, allocations: 130.9 kB / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/1.13, allocations: 80.73 kB / 1.361 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/1.13, allocations: 7.781 kB / 1.361 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.131, allocations: 337.8 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/1.131, allocations: 131.7 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/1.131, allocations: 258.4 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/1.132, allocations: 157.6 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.132, allocations: 0 / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009391/1.132, allocations: 497.6 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/1.133, allocations: 100.8 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.133, allocations: 3.719 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.133, allocations: 7.531 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/1.133, allocations: 46.08 kB / 1.362 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.133, allocations: 9.719 kB / 1.362 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/1.133, allocations: 124.8 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/1.133, allocations: 35 kB / 1.363 GB, free: 31.32 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.0001973/1.134, allocations: 157.6 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003989/1.134, allocations: 302 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/1.134, allocations: 26.28 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/1.134, allocations: 21.78 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.134, allocations: 7.828 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.134, allocations: 2.719 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.134, allocations: 0 / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/1.135, allocations: 0.6537 MB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.135, allocations: 0 / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/1.135, allocations: 15.31 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.135, allocations: 96 / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.135, allocations: 14.31 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.135, allocations: 0 / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.135, allocations: 3.984 kB / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/1.135, allocations: 395 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/1.136, allocations: 100.5 kB / 1.364 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/1.136, allocations: 18.59 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/1.136, allocations: 14.59 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/1.136, allocations: 28.75 kB / 1.364 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/1.136, allocations: 15.28 kB / 1.364 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.262e-05/1.136, allocations: 127.5 kB / 1.364 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.136, allocations: 0 / 1.364 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004041/1.136, allocations: 84.09 kB / 1.365 GB, free: 30.47 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.0007681/1.137, allocations: 0.9641 MB / 1.365 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007112/1.138, allocations: 0.508 MB / 1.366 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.138, allocations: 4.688 kB / 1.366 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.138, allocations: 127.2 kB / 1.366 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/1.138, allocations: 35.27 kB / 1.366 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/1.139, allocations: 345.3 kB / 1.366 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/1.14, allocations: 0.753 MB / 1.367 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.964e-05/1.14, allocations: 26.78 kB / 1.367 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/1.14, allocations: 75.64 kB / 1.367 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.14, allocations: 4 kB / 1.367 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/1.168, allocations: 5.147 MB / 1.372 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/1.168, allocations: 148.2 kB / 1.372 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.994, allocations: 0 / 1.372 GB, free: 28.12 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