Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.0012/0.0012, allocations: 177.2 kB / 377.1 MB, free: 1.523 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.644/1.644, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0008552/0.0008552, allocations: 85.61 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2991, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.818/1.117, allocations: 139.6 MB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.117, allocations: 72.23 kB / 1.125 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01083/1.128, allocations: 3.996 MB / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.846e-06/1.128, allocations: 0 / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.128, allocations: 4 kB / 1.129 GB, free: 32.25 MB / 0.7292 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.0007531/1.129, allocations: 0.5412 MB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.129, allocations: 12.03 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/1.129, allocations: 57 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/1.129, allocations: 35.23 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.129, allocations: 175.5 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/1.129, allocations: 31.84 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/1.13, allocations: 43.38 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/1.13, allocations: 252.9 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.13, allocations: 0 / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/1.13, allocations: 7.516 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.13, allocations: 4 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/1.13, allocations: 130.5 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/1.131, allocations: 0.5916 MB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/1.131, allocations: 420.9 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/1.131, allocations: 7.938 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004849/1.132, allocations: 372.2 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 1.863e-06/1.132, allocations: 0 / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46): time 0.000917/1.133, allocations: 0.6712 MB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/1.133, allocations: 83.36 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/1.133, allocations: 131.5 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/1.133, allocations: 53.31 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/1.133, allocations: 97.14 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/1.133, allocations: 101.3 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/1.133, allocations: 20 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/1.133, allocations: 329.9 kB / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/1.134, allocations: 150.1 kB / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/1.134, allocations: 301.1 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/1.134, allocations: 212.8 kB / 1.133 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.134, allocations: 3.938 kB / 1.133 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007767/1.135, allocations: 0.5736 MB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.135, allocations: 72.61 kB / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.135, allocations: 4.516 kB / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.135, allocations: 8 kB / 1.134 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/1.135, allocations: 47.19 kB / 1.134 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.135, allocations: 11.94 kB / 1.134 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/1.136, allocations: 109 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/1.136, allocations: 39.52 kB / 1.134 GB, free: 26.97 MB / 0.7292 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.0001569/1.136, allocations: 172.7 kB / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/1.136, allocations: 31.05 kB / 1.134 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/1.136, allocations: 25.73 kB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.136, allocations: 4.797 kB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.136, allocations: 4.453 kB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.136, allocations: 4 kB / 1.134 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.138, allocations: 1.066 MB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.138, allocations: 4.562 kB / 1.136 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/1.138, allocations: 14.61 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.138, allocations: 5.125 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/1.138, allocations: 19.55 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/1.138, allocations: 1.062 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.138, allocations: 4.844 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/1.139, allocations: 0.6772 MB / 1.136 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/1.139, allocations: 93.44 kB / 1.136 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/1.139, allocations: 29.02 kB / 1.136 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/1.139, allocations: 35.02 kB / 1.136 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.139, allocations: 44.06 kB / 1.136 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/1.139, allocations: 32.31 kB / 1.136 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.552e-05/1.139, allocations: 100.3 kB / 1.137 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.139, allocations: 4 kB / 1.137 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004254/1.14, allocations: 114.5 kB / 1.137 GB, free: 24.69 MB / 0.7292 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.00116/1.141, allocations: 1.397 MB / 1.138 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007456/1.141, allocations: 0.5538 MB / 1.139 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.141, allocations: 0 / 1.139 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/1.142, allocations: 304.5 kB / 1.139 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/1.142, allocations: 37.64 kB / 1.139 GB, free: 22.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/1.144, allocations: 3.717 MB / 1.143 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/1.144, allocations: 0.7367 MB / 1.143 GB, free: 17.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000104/1.144, allocations: 32.23 kB / 1.143 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.144, allocations: 66.19 kB / 1.143 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.144, allocations: 0 / 1.143 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/1.164, allocations: 5.544 MB / 1.149 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.165, allocations: 217.3 kB / 1.149 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/3.075, allocations: 0 / 1.149 GB, free: 14.57 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)