Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_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.365/2.365, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001138/0.001138, allocations: 188.8 kB / 487.4 MB, free: 5.043 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.551/1.551, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.00103/0.00103, allocations: 95.8 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.133e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3638, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.447, allocations: 148.9 MB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001638/1.447, allocations: 72.84 kB / 1.352 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0101/1.457, allocations: 3.364 MB / 1.355 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.457, allocations: 0 / 1.355 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.458, allocations: 0 / 1.355 GB, free: 34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005569/1.458, allocations: 460.9 kB / 1.355 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.458, allocations: 16.38 kB / 1.355 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/1.458, allocations: 16.09 kB / 1.355 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/1.458, allocations: 176.3 kB / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.458, allocations: 9.484 kB / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/1.458, allocations: 17.31 kB / 1.356 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001081/1.458, allocations: 57.34 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/1.459, allocations: 118.5 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/1.459, allocations: 0 / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.459, allocations: 5.766 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/1.459, allocations: 8.469 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/1.459, allocations: 0.518 MB / 1.356 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/1.46, allocations: 142.9 kB / 1.356 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/1.46, allocations: 61.72 kB / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/1.46, allocations: 0.6562 kB / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/1.46, allocations: 211.8 kB / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/1.46, allocations: 0 / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003735/1.46, allocations: 227.2 kB / 1.357 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.46, allocations: 86.19 kB / 1.357 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/1.461, allocations: 113.3 kB / 1.357 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/1.461, allocations: 38.05 kB / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/1.461, allocations: 96.83 kB / 1.357 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/1.461, allocations: 50.11 kB / 1.357 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/1.461, allocations: 2.688 kB / 1.357 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.461, allocations: 329.6 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.461, allocations: 79.31 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/1.461, allocations: 143.8 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/1.462, allocations: 101.7 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.462, allocations: 0.6562 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005888/1.462, allocations: 292.5 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/1.462, allocations: 66.09 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.462, allocations: 4.5 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.462, allocations: 3.844 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/1.462, allocations: 21.75 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.462, allocations: 8.344 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/1.463, allocations: 92.22 kB / 1.358 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/1.463, allocations: 19.56 kB / 1.358 GB, free: 31.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001123/1.463, allocations: 132.7 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002724/1.463, allocations: 227.4 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/1.463, allocations: 11.75 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/1.463, allocations: 22.86 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.463, allocations: 3.969 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.463, allocations: 0 / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.463, allocations: 3.953 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/1.464, allocations: 0.562 MB / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.464, allocations: 0 / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/1.464, allocations: 11.62 kB / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.464, allocations: 0 / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/1.464, allocations: 14.25 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.464, allocations: 0.5625 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.464, allocations: 0 / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/1.464, allocations: 417.6 kB / 1.36 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/1.464, allocations: 90.67 kB / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/1.464, allocations: 10.61 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/1.464, allocations: 16.8 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/1.464, allocations: 24.69 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/1.464, allocations: 17.77 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.617e-05/1.464, allocations: 94.7 kB / 1.36 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.465, allocations: 0 / 1.36 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003621/1.465, allocations: 56.95 kB / 1.36 GB, free: 30.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009258/1.466, allocations: 1.02 MB / 1.361 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004661/1.466, allocations: 330.9 kB / 1.361 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.466, allocations: 448 / 1.361 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/1.466, allocations: 106.4 kB / 1.361 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.467, allocations: 29.42 kB / 1.361 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/1.467, allocations: 243.5 kB / 1.362 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/1.468, allocations: 0.7058 MB / 1.362 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.108e-05/1.468, allocations: 22.23 kB / 1.362 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/1.468, allocations: 34.72 kB / 1.362 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.468, allocations: 0 / 1.362 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/1.489, allocations: 3.318 MB / 1.366 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/1.489, allocations: 143.2 kB / 1.366 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/3.115, allocations: 0 / 1.366 GB, free: 28.69 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat