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.355/2.355, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001509/0.001509, allocations: 188.8 kB / 360.6 MB, free: 7.301 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.088/2.088, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 97.34 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.862e-05/5.864e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8207, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/1.055, allocations: 137.7 MB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.056, allocations: 67.95 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02224/1.078, allocations: 3.958 MB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/1.078, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.078, allocations: 4 kB / 1.102 GB, free: 14.8 MB / 0.7136 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.001704/1.08, allocations: 0.5308 MB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.199e-05/1.08, allocations: 8.031 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/1.08, allocations: 35.75 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/1.08, allocations: 176 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/1.08, allocations: 23.91 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/1.081, allocations: 31.98 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005505/1.081, allocations: 108.5 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/1.082, allocations: 223.1 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.082, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/1.082, allocations: 15.97 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/1.082, allocations: 4 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/1.084, allocations: 0.5503 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/1.085, allocations: 385.4 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/1.086, allocations: 188.2 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/1.086, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/1.087, allocations: 351.6 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 5.39e-06/1.087, allocations: 0 / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.001918/1.089, allocations: 485.9 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/1.089, allocations: 67.34 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/1.089, allocations: 130 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.09, allocations: 45.7 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.09, allocations: 97.44 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/1.09, allocations: 98.7 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/1.09, allocations: 4 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.09, allocations: 338.8 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/1.09, allocations: 125.3 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/1.091, allocations: 272.2 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/1.092, allocations: 157.2 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.092, allocations: 3.984 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00162/1.093, allocations: 471.1 kB / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/1.094, allocations: 71.39 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.094, allocations: 4 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/1.094, allocations: 11.94 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/1.094, allocations: 43.84 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.094, allocations: 12.52 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008353/1.095, allocations: 103.8 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/1.095, allocations: 31.98 kB / 1.107 GB, free: 9.379 MB / 0.7136 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 () * 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.0002559/1.095, allocations: 149.8 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001174/1.096, allocations: 488.9 kB / 1.107 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/1.096, allocations: 27.72 kB / 1.107 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/1.096, allocations: 34.16 kB / 1.108 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/1.096, allocations: 7.953 kB / 1.108 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.097, allocations: 2.312 kB / 1.108 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.097, allocations: 0 / 1.108 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/1.099, allocations: 0.9567 MB / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.099, allocations: 0 / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.099, allocations: 20.66 kB / 1.108 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.099, allocations: 4 kB / 1.108 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/1.099, allocations: 15.97 kB / 1.108 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/1.099, allocations: 6.5 kB / 1.108 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/1.099, allocations: 7.875 kB / 1.108 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.1, allocations: 0.6091 MB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/1.1, allocations: 96.92 kB / 1.109 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.101, allocations: 21.38 kB / 1.109 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/1.101, allocations: 27.97 kB / 1.109 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.101, allocations: 47.91 kB / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/1.101, allocations: 31.98 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.61e-05/1.101, allocations: 108.6 kB / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.101, allocations: 0 / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006963/1.102, allocations: 91.98 kB / 1.11 GB, free: 6.535 MB / 0.7136 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) * 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.001753/1.104, allocations: 1.332 MB / 1.111 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.105, allocations: 0.4995 MB / 1.111 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.105, allocations: 0 / 1.111 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005877/1.106, allocations: 275.9 kB / 1.112 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/1.106, allocations: 36.45 kB / 1.112 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.108, allocations: 398.3 kB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/1.108, allocations: 0.7417 MB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001591/1.108, allocations: 31.28 kB / 1.113 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.108, allocations: 63.41 kB / 1.113 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/1.108, allocations: 0 / 1.113 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/1.153, allocations: 5.178 MB / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/1.153, allocations: 157.8 kB / 1.118 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.912, allocations: 3.938 kB / 1.118 GB, free: 13.78 MB / 0.7292 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)