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.621/1.621, allocations: 285.4 MB / 298 MB, free: 6.02 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.001058/0.001058, allocations: 180.8 kB / 366.4 MB, free: 2.105 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.966/1.966, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0009601/0.0009602, allocations: 98.48 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.769e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.7897, allocations: 115.3 MB / 0.971 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/1.017, allocations: 138.5 MB / 1.106 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/1.017, allocations: 77.11 kB / 1.106 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01241/1.029, allocations: 3.995 MB / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.272e-06/1.029, allocations: 0 / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.03, allocations: 4 kB / 1.11 GB, free: 9.262 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.0009771/1.031, allocations: 0.5349 MB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.031, allocations: 12.03 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/1.031, allocations: 46.53 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.031, allocations: 27.81 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/1.031, allocations: 189.3 kB / 1.111 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/1.031, allocations: 24.22 kB / 1.111 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/1.031, allocations: 39.98 kB / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/1.032, allocations: 253.5 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.032, allocations: 0 / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/1.032, allocations: 15.92 kB / 1.111 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.032, allocations: 4 kB / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/1.032, allocations: 116.7 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009828/1.033, allocations: 0.5986 MB / 1.112 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/1.033, allocations: 415.8 kB / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/1.034, allocations: 196.8 kB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/1.034, allocations: 4 kB / 1.113 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005873/1.034, allocations: 373.5 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.923e-06/1.034, allocations: 4 kB / 1.113 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0008846/1.035, allocations: 0.5132 MB / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.035, allocations: 67.36 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/1.036, allocations: 134.1 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.119e-05/1.036, allocations: 53.7 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/1.036, allocations: 97.12 kB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.036, allocations: 102.8 kB / 1.114 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/1.036, allocations: 16 kB / 1.114 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.036, allocations: 338.8 kB / 1.114 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/1.036, allocations: 145.3 kB / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/1.037, allocations: 280.1 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/1.037, allocations: 220.4 kB / 1.115 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.037, allocations: 0 / 1.115 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00108/1.038, allocations: 0.573 MB / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/1.038, allocations: 67.39 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.038, allocations: 8 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/1.038, allocations: 11.95 kB / 1.116 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/1.038, allocations: 43.84 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/1.038, allocations: 8.562 kB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/1.039, allocations: 111.7 kB / 1.116 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/1.039, allocations: 35.98 kB / 1.116 GB, free: 3.297 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.0001728/1.039, allocations: 162 kB / 1.116 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/1.039, allocations: 31.8 kB / 1.116 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/1.039, allocations: 25.88 kB / 1.116 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.039, allocations: 8 kB / 1.116 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.039, allocations: 6.578 kB / 1.116 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.039, allocations: 3.984 kB / 1.116 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/1.041, allocations: 1.034 MB / 1.117 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.041, allocations: 0 / 1.117 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/1.041, allocations: 19.92 kB / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/1.041, allocations: 64 / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/1.041, allocations: 31.91 kB / 1.117 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/1.041, allocations: 4 kB / 1.117 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.041, allocations: 3.984 kB / 1.117 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/1.042, allocations: 0.6522 MB / 1.118 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/1.042, allocations: 96.83 kB / 1.118 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/1.042, allocations: 23.97 kB / 1.118 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/1.043, allocations: 35.97 kB / 1.118 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.043, allocations: 51.84 kB / 1.118 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/1.043, allocations: 31.98 kB / 1.118 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.448e-05/1.043, allocations: 105 kB / 1.118 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.043, allocations: 8 kB / 1.118 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004731/1.043, allocations: 108 kB / 1.118 GB, free: 0.7461 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.001441/1.045, allocations: 1.381 MB / 1.119 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008779/1.046, allocations: 0.5468 MB / 1.12 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.046, allocations: 0 / 1.12 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/1.046, allocations: 301.2 kB / 1.12 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/1.046, allocations: 35.92 kB / 1.12 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.048, allocations: 452.2 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.048, allocations: 0.7383 MB / 1.121 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001037/1.048, allocations: 34.95 kB / 1.122 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/1.048, allocations: 59.36 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of SimCode: time 7.42e-07/1.048, allocations: 0 / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/1.067, allocations: 5.69 MB / 1.127 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.068, allocations: 199.7 kB / 1.127 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.844, allocations: 0 / 1.127 GB, free: 7.453 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)