Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009369/0.0009367, allocations: 176.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007804/0.0007805, allocations: 80.5 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.721e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.198, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7344/0.9324, allocations: 132.3 MB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.9327, allocations: 78.62 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006041/0.9388, allocations: 2.244 MB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9388, allocations: 3.938 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.9388, allocations: 8 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006741/0.9395, allocations: 482.9 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.9396, allocations: 12.03 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.9396, allocations: 27.77 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.9399, allocations: 219.5 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.9399, allocations: 15.55 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.94, allocations: 19.94 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002048/0.9402, allocations: 100.4 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.9405, allocations: 154.6 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9405, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.9405, allocations: 7.984 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.9405, allocations: 11.94 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009262/0.9415, allocations: 0.5115 MB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.9417, allocations: 204.1 kB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.9419, allocations: 87.17 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.9419, allocations: 4 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.9422, allocations: 239.3 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/0.9423, allocations: 0 / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0004739/0.9427, allocations: 303.4 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9428, allocations: 66.52 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.9429, allocations: 137.5 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.9429, allocations: 32.95 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.943, allocations: 114.9 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.9431, allocations: 87.45 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.9431, allocations: 0 / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9432, allocations: 336.2 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.9434, allocations: 82.69 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.9436, allocations: 131 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.9437, allocations: 83.59 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9437, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003756/0.9441, allocations: 281.9 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9441, allocations: 8 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9441, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.9441, allocations: 7.938 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.9443, allocations: 43.48 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.9443, allocations: 7.938 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.9445, allocations: 31.81 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.9445, allocations: 15.06 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001162/0.9447, allocations: 137.5 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003847/0.9451, allocations: 306 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.9451, allocations: 23.8 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.9452, allocations: 23.56 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9452, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9452, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.9452, allocations: 3.984 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.946, allocations: 0.6799 MB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9461, allocations: 0 / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.9461, allocations: 19.67 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9461, allocations: 0 / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.9462, allocations: 7.984 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.9462, allocations: 0 / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9462, allocations: 0 / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.9466, allocations: 409.1 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.9467, allocations: 100.8 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.9467, allocations: 11.86 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.9469, allocations: 26.62 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.947, allocations: 39.73 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.947, allocations: 19.92 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.9471, allocations: 109.8 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9471, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000288/0.9474, allocations: 55.98 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * 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.0007223/0.9481, allocations: 0.953 MB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.9485, allocations: 250.2 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9485, allocations: 0 / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.9487, allocations: 141.9 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.949, allocations: 31.8 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.9497, allocations: 322.5 kB / 1.024 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.95, allocations: 0.7453 MB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.369e-05/0.9501, allocations: 27.28 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.9502, allocations: 65.97 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9502, allocations: 4 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.9743, allocations: 3.847 MB / 1.029 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.9746, allocations: 152.3 kB / 1.029 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.683, allocations: 3.406 kB / 1.029 GB, free: 7.484 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)