Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.655/2.655, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001582, allocations: 178.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 89.17 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006784/0.0006783, allocations: 16.75 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2179, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9548/1.173, allocations: 138.4 MB / 1.113 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.173, allocations: 70.33 kB / 1.114 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0195/1.193, allocations: 3.992 MB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/1.193, allocations: 0 / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.463e-05/1.193, allocations: 3.5 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001301/1.194, allocations: 0.5435 MB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.194, allocations: 15.39 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.608e-05/1.194, allocations: 48.09 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/1.194, allocations: 37.69 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/1.195, allocations: 178.3 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/1.195, allocations: 29.17 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.195, allocations: 43.59 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/1.195, allocations: 256.6 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.195, allocations: 0 / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/1.195, allocations: 10.11 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/1.195, allocations: 3.812 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/1.196, allocations: 130 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/1.197, allocations: 0.5936 MB / 1.119 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/1.198, allocations: 426.2 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/1.198, allocations: 3.812 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008172/1.199, allocations: 364.4 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.146e-06/1.199, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.001654/1.201, allocations: 0.674 MB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/1.201, allocations: 72.14 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.201, allocations: 136.1 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.201, allocations: 55.14 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/1.201, allocations: 100.2 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.201, allocations: 99.47 kB / 1.121 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/1.201, allocations: 17.03 kB / 1.121 GB, free: 29.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.201, allocations: 336.1 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/1.202, allocations: 146.9 kB / 1.122 GB, free: 28.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/1.202, allocations: 295.8 kB / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/1.203, allocations: 220 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.203, allocations: 0 / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001338/1.204, allocations: 0.5795 MB / 1.123 GB, free: 28.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/1.204, allocations: 69.12 kB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.204, allocations: 3.906 kB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/1.204, allocations: 11.67 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/1.205, allocations: 44.84 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.205, allocations: 7.562 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/1.205, allocations: 107.1 kB / 1.123 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/1.206, allocations: 34.88 kB / 1.123 GB, free: 28.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0003175/1.206, allocations: 185.6 kB / 1.123 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/1.206, allocations: 25.77 kB / 1.123 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.217e-05/1.206, allocations: 27.47 kB / 1.123 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.206, allocations: 7.766 kB / 1.123 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.206, allocations: 3.938 kB / 1.123 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/1.206, allocations: 4.828 kB / 1.123 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/1.208, allocations: 1.056 MB / 1.124 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/1.208, allocations: 3.938 kB / 1.124 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/1.208, allocations: 18.81 kB / 1.124 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/1.208, allocations: 4 kB / 1.124 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/1.209, allocations: 21.66 kB / 1.124 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.209, allocations: 3.812 kB / 1.124 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.209, allocations: 3.938 kB / 1.124 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.21, allocations: 0.6722 MB / 1.125 GB, free: 27.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/1.21, allocations: 96.55 kB / 1.125 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.21, allocations: 27.59 kB / 1.125 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/1.21, allocations: 38.83 kB / 1.125 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.211, allocations: 45.55 kB / 1.125 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/1.211, allocations: 39.34 kB / 1.125 GB, free: 27.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001052/1.211, allocations: 98.84 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.211, allocations: 0 / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007724/1.212, allocations: 107.9 kB / 1.125 GB, free: 27.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001975/1.214, allocations: 1.401 MB / 1.127 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001392/1.215, allocations: 0.5462 MB / 1.127 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.215, allocations: 0 / 1.127 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006419/1.216, allocations: 309.6 kB / 1.128 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/1.216, allocations: 35.98 kB / 1.128 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/1.219, allocations: 3.712 MB / 1.131 GB, free: 23.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/1.22, allocations: 0.7377 MB / 1.132 GB, free: 22.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001896/1.22, allocations: 36.72 kB / 1.132 GB, free: 22.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/1.22, allocations: 64.03 kB / 1.132 GB, free: 22.36 MB / 0.698 GB Notification: Performance of SimCode: time 1.572e-06/1.22, allocations: 0 / 1.132 GB, free: 22.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/1.256, allocations: 5.53 MB / 1.137 GB, free: 21.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/1.256, allocations: 191 kB / 1.138 GB, free: 21.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.98, allocations: 4 kB / 1.138 GB, free: 21.21 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)