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.749/1.749, allocations: 289.9 MB / 297.4 MB, free: 6.441 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.001419/0.001419, allocations: 184.8 kB / 366.7 MB, free: 1.684 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.647/1.647, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0009385/0.0009386, allocations: 94.62 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.928e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7665, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.9675, allocations: 138.8 MB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.9677, allocations: 65.56 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.9792, allocations: 3.976 MB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9792, allocations: 0 / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.9792, allocations: 4 kB / 1.113 GB, free: 7.281 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.0007931/0.98, allocations: 0.531 MB / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9801, allocations: 8.031 kB / 1.113 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.9802, allocations: 35.8 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.9803, allocations: 178.9 kB / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.9804, allocations: 19.97 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.9805, allocations: 31.98 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002251/0.9807, allocations: 104.5 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.9811, allocations: 232.7 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9811, allocations: 0 / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.9811, allocations: 15.97 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.9812, allocations: 0 / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008503/0.982, allocations: 0.5444 MB / 1.115 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.9825, allocations: 387.7 kB / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.9827, allocations: 184.9 kB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.9828, allocations: 8 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000593/0.9834, allocations: 348.6 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.633e-06/0.9834, allocations: 0 / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0008482/0.9842, allocations: 493.9 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9843, allocations: 63.39 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.9844, allocations: 130.7 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.9845, allocations: 37.7 kB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.9846, allocations: 101.4 kB / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.9847, allocations: 94.77 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.9847, allocations: 4 kB / 1.116 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9849, allocations: 338.8 kB / 1.117 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.9852, allocations: 133.3 kB / 1.117 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.9855, allocations: 272.1 kB / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.986, allocations: 153.2 kB / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.986, allocations: 0 / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009518/0.987, allocations: 475.1 kB / 1.118 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.9871, allocations: 71.39 kB / 1.118 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.9871, allocations: 5.688 kB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.9871, allocations: 8 kB / 1.118 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.9873, allocations: 48.41 kB / 1.118 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.9873, allocations: 15.94 kB / 1.118 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.9878, allocations: 103.7 kB / 1.118 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.9879, allocations: 30.64 kB / 1.118 GB, free: 1.855 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.0001956/0.9881, allocations: 152.1 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007127/0.9888, allocations: 480.9 kB / 1.119 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.9889, allocations: 31.72 kB / 1.119 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.9889, allocations: 26.17 kB / 1.119 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.989, allocations: 4 kB / 1.119 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.989, allocations: 3.953 kB / 1.119 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.989, allocations: 0 / 1.119 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.9904, allocations: 0.9607 MB / 1.12 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9904, allocations: 8.75 kB / 1.12 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.9905, allocations: 15.94 kB / 1.12 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.9905, allocations: 7.938 kB / 1.12 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.9906, allocations: 11.97 kB / 1.12 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.9906, allocations: 4 kB / 1.12 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.9906, allocations: 1.562 kB / 1.12 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.9914, allocations: 0.6213 MB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.9914, allocations: 88.92 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.9915, allocations: 23.97 kB / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.9917, allocations: 23.97 kB / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.9918, allocations: 43.92 kB / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.9918, allocations: 39.97 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.9919, allocations: 106.1 kB / 1.12 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9919, allocations: 0 / 1.12 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004467/0.9924, allocations: 87.98 kB / 1.121 GB, free: 15.02 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) * 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.001037/0.9934, allocations: 1.346 MB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.9941, allocations: 0.4994 MB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9941, allocations: 320 / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.9944, allocations: 283.8 kB / 1.123 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.9948, allocations: 27.92 kB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008784/0.9956, allocations: 391.4 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.9959, allocations: 0.7427 MB / 1.124 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.863e-05/0.996, allocations: 31.28 kB / 1.124 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.9961, allocations: 63.41 kB / 1.124 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9962, allocations: 3.938 kB / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/1.021, allocations: 5.196 MB / 1.129 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/1.021, allocations: 168 kB / 1.129 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.852, allocations: 2.031 kB / 1.129 GB, free: 6.246 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)