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.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.00117/0.00117, allocations: 168.9 kB / 361.4 MB, free: 6.828 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.808/2.808, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001248/0.001248, allocations: 88.16 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.399e-05/4.375e-05, allocations: 8 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8742/0.8742, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/1.107, allocations: 137.9 MB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.108, allocations: 73.7 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01263/1.12, allocations: 3.972 MB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/1.12, allocations: 0 / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.12, allocations: 4 kB / 1.103 GB, free: 13.93 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.0009163/1.121, allocations: 0.5387 MB / 1.104 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/1.121, allocations: 8.031 kB / 1.104 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/1.121, allocations: 28.84 kB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/1.122, allocations: 179 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/1.122, allocations: 7.984 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/1.122, allocations: 35.98 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002529/1.122, allocations: 108.4 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/1.123, allocations: 235.1 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.123, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/1.123, allocations: 7.984 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.123, allocations: 4 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.124, allocations: 0.556 MB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/1.124, allocations: 386.1 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/1.125, allocations: 188 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/1.125, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/1.125, allocations: 359 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.563e-06/1.125, allocations: 0 / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0008864/1.126, allocations: 482 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/1.126, allocations: 67.38 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/1.126, allocations: 120.9 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/1.126, allocations: 49.69 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.127, allocations: 93.45 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-05/1.127, allocations: 98.77 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/1.127, allocations: 4 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.127, allocations: 346.8 kB / 1.107 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/1.127, allocations: 125.3 kB / 1.107 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/1.128, allocations: 271.6 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/1.128, allocations: 163.6 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.128, allocations: 0 / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001056/1.129, allocations: 472.8 kB / 1.108 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/1.129, allocations: 72.64 kB / 1.108 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.129, allocations: 4 kB / 1.108 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/1.129, allocations: 8 kB / 1.108 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.129, allocations: 47.8 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.887e-05/1.13, allocations: 5.5 kB / 1.108 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/1.13, allocations: 99.84 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/1.13, allocations: 35.98 kB / 1.108 GB, free: 8.512 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.0002146/1.13, allocations: 154 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007669/1.131, allocations: 488.9 kB / 1.109 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/1.131, allocations: 31.7 kB / 1.109 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/1.131, allocations: 22.19 kB / 1.109 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/1.131, allocations: 4 kB / 1.109 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.131, allocations: 3.953 kB / 1.109 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.131, allocations: 3.984 kB / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/1.133, allocations: 0.9569 MB / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.133, allocations: 0 / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/1.133, allocations: 22.92 kB / 1.11 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.133, allocations: 3.938 kB / 1.11 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/1.133, allocations: 15.98 kB / 1.11 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.133, allocations: 7.984 kB / 1.11 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.133, allocations: 4.062 kB / 1.11 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/1.134, allocations: 0.6065 MB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/1.134, allocations: 96.91 kB / 1.11 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/1.134, allocations: 19.98 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.134, allocations: 35.95 kB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.134, allocations: 43.92 kB / 1.11 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/1.135, allocations: 35.97 kB / 1.111 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.79e-05/1.135, allocations: 97.61 kB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.135, allocations: 0 / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004999/1.135, allocations: 95.97 kB / 1.111 GB, free: 5.672 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.001432/1.137, allocations: 1.342 MB / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000814/1.137, allocations: 0.4988 MB / 1.113 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.137, allocations: 0 / 1.113 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/1.138, allocations: 279.8 kB / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/1.138, allocations: 32.31 kB / 1.113 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.139, allocations: 398.4 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/1.14, allocations: 0.7348 MB / 1.114 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.841e-05/1.14, allocations: 39.27 kB / 1.114 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.14, allocations: 55.42 kB / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/1.14, allocations: 7.875 kB / 1.114 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/1.189, allocations: 5.198 MB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003941/1.19, allocations: 194.5 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/4.642, allocations: 3.594 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)