Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.669/1.669, allocations: 292.6 MB / 307.5 MB, free: 5.25 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.001259/0.001259, allocations: 190.8 kB / 377.1 MB, free: 1.531 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.701/1.701, allocations: 205.4 MB / 0.6366 GB, free: 8.516 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.0008567/0.0008567, allocations: 88.05 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004397, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6965/0.9554, allocations: 139.3 MB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.9557, allocations: 71.48 kB / 1.125 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005555/0.9613, allocations: 2.09 MB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9613, allocations: 0 / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.9613, allocations: 0 / 1.127 GB, free: 33.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004209/0.9617, allocations: 404.3 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9618, allocations: 12.86 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.9618, allocations: 38.75 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.9619, allocations: 10.53 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.82e-05/0.962, allocations: 171 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.962, allocations: 11.61 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.962, allocations: 15.44 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.9622, allocations: 87.02 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9622, allocations: 4.891 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.9622, allocations: 0.5 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.9623, allocations: 0 / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.9623, allocations: 39.92 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.9629, allocations: 386.8 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.963, allocations: 94.25 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.963, allocations: 4.828 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.9633, allocations: 131.1 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.9633, allocations: 4 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003222/0.9636, allocations: 203.2 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.9637, allocations: 55.41 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.9637, allocations: 101.8 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9637, allocations: 37.22 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.9638, allocations: 92.14 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.9638, allocations: 31.05 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.9638, allocations: 8 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.9639, allocations: 321.9 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.964, allocations: 50.89 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.9641, allocations: 83.52 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.9642, allocations: 85.67 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9642, allocations: 0 / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002895/0.9645, allocations: 216.6 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.9646, allocations: 34.64 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9646, allocations: 4 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.9646, allocations: 3.422 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.9647, allocations: 21.16 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.9647, allocations: 8 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.9649, allocations: 42.45 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.9649, allocations: 12.5 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.279e-05/0.965, allocations: 137 kB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.965, allocations: 11.91 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.965, allocations: 8.5 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9651, allocations: 5.062 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.9651, allocations: 0 / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9651, allocations: 0 / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.9654, allocations: 434 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9654, allocations: 3.703 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.9654, allocations: 12.44 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9655, allocations: 0 / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.9655, allocations: 4 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.9655, allocations: 4.547 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9655, allocations: 4.703 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.9657, allocations: 258.5 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.9657, allocations: 85.52 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.9658, allocations: 4 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.9659, allocations: 15.56 kB / 1.13 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.9659, allocations: 14.75 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.9659, allocations: 12.64 kB / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.966, allocations: 87.16 kB / 1.13 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.966, allocations: 3.938 kB / 1.13 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002577/0.9662, allocations: 39.47 kB / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004127/0.9666, allocations: 0.8076 MB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.9669, allocations: 197.3 kB / 1.131 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9669, allocations: 7.938 kB / 1.131 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.967, allocations: 66.84 kB / 1.131 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.9672, allocations: 20.66 kB / 1.131 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.9678, allocations: 1.037 MB / 1.132 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.9679, allocations: 0.695 MB / 1.133 GB, free: 27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.968, allocations: 8.562 kB / 1.133 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.968, allocations: 27.61 kB / 1.133 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.968, allocations: 0 / 1.133 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.9815, allocations: 2.421 MB / 1.136 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.9817, allocations: 205.7 kB / 1.136 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.635, allocations: 0 / 1.136 GB, free: 25.41 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)