Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.837/1.837, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001148/0.001148, allocations: 186.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.6305 GB, free: 10 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.000898/0.0008981, allocations: 90.44 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004485, allocations: 12.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2865, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8548/1.141, allocations: 138.6 MB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.142, allocations: 69.72 kB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0114/1.153, allocations: 3.995 MB / 1.119 GB, free: 31.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.056e-06/1.153, allocations: 0 / 1.119 GB, free: 31.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.254e-05/1.153, allocations: 3.875 kB / 1.119 GB, free: 31.92 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.0009852/1.154, allocations: 0.5479 MB / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/1.154, allocations: 11.8 kB / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.014e-05/1.154, allocations: 53.22 kB / 1.119 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/1.154, allocations: 29.97 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/1.155, allocations: 178.7 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/1.155, allocations: 27.47 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/1.155, allocations: 43.61 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/1.155, allocations: 251.8 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.155, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.155, allocations: 12.39 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.155, allocations: 7.781 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/1.155, allocations: 127.7 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/1.156, allocations: 0.5929 MB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/1.157, allocations: 429 kB / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/1.157, allocations: 0 / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/1.157, allocations: 372.9 kB / 1.121 GB, free: 30.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.054e-06/1.157, allocations: 0 / 1.121 GB, free: 30.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.0009838/1.158, allocations: 0.6782 MB / 1.122 GB, free: 30.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.158, allocations: 73.19 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/1.159, allocations: 129.6 kB / 1.122 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/1.159, allocations: 48.89 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/1.159, allocations: 102.8 kB / 1.122 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/1.159, allocations: 104.9 kB / 1.123 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/1.159, allocations: 15.34 kB / 1.123 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.159, allocations: 338.7 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/1.159, allocations: 145.9 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/1.159, allocations: 297.2 kB / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/1.16, allocations: 212.9 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.16, allocations: 3.844 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007604/1.16, allocations: 0.5736 MB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/1.161, allocations: 76.36 kB / 1.124 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.161, allocations: 3.375 kB / 1.124 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.161, allocations: 12.12 kB / 1.124 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/1.161, allocations: 48.03 kB / 1.124 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/1.161, allocations: 7.844 kB / 1.124 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/1.161, allocations: 106.3 kB / 1.124 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/1.161, allocations: 31.59 kB / 1.124 GB, free: 29.5 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.0002008/1.161, allocations: 183.6 kB / 1.124 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/1.162, allocations: 34.23 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/1.162, allocations: 21.81 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.162, allocations: 3.844 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.162, allocations: 7.797 kB / 1.125 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.162, allocations: 2.859 kB / 1.125 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.163, allocations: 1.06 MB / 1.126 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.163, allocations: 4.062 kB / 1.126 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/1.163, allocations: 21.56 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.163, allocations: 3.844 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/1.163, allocations: 13.28 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.163, allocations: 3.844 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.163, allocations: 0 / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/1.164, allocations: 0.6709 MB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/1.164, allocations: 99.86 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/1.164, allocations: 24.33 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/1.164, allocations: 35.81 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/1.164, allocations: 45.33 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/1.164, allocations: 36.17 kB / 1.127 GB, free: 28.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.502e-05/1.164, allocations: 105.9 kB / 1.127 GB, free: 28.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.164, allocations: 0 / 1.127 GB, free: 28.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000409/1.165, allocations: 114.1 kB / 1.127 GB, free: 28.58 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.001095/1.166, allocations: 1.394 MB / 1.128 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00069/1.167, allocations: 0.5547 MB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.167, allocations: 0 / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/1.167, allocations: 308.2 kB / 1.129 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/1.167, allocations: 29.98 kB / 1.129 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/1.169, allocations: 3.715 MB / 1.133 GB, free: 24.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/1.169, allocations: 0.7355 MB / 1.133 GB, free: 23.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.563e-05/1.17, allocations: 33.52 kB / 1.133 GB, free: 23.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/1.17, allocations: 57.41 kB / 1.133 GB, free: 23.39 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.17, allocations: 7.844 kB / 1.133 GB, free: 23.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/1.185, allocations: 5.531 MB / 1.139 GB, free: 21.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/1.185, allocations: 199.5 kB / 1.139 GB, free: 21.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.993, allocations: 4 kB / 1.139 GB, free: 21.35 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)