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.724/1.724, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001049/0.001049, allocations: 180.8 kB / 366.7 MB, free: 1.676 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.754/1.754, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008894/0.0008893, allocations: 86.39 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.159e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7608, allocations: 116.3 MB / 0.9734 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.973, allocations: 138.6 MB / 1.109 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.9733, allocations: 71.95 kB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006059/0.9793, allocations: 2.064 MB / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9794, allocations: 0 / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.9794, allocations: 5.125 kB / 1.111 GB, free: 9.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005382/0.98, allocations: 397.5 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.98, allocations: 8.031 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.9801, allocations: 9.562 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.9803, allocations: 174.9 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.9803, allocations: 3.938 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.9803, allocations: 15.98 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.9805, allocations: 35.98 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.9806, allocations: 76.92 kB / 1.111 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.9806, allocations: 0 / 1.111 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.9806, allocations: 4 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.9807, allocations: 1.281 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.9813, allocations: 354.9 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.9815, allocations: 86.58 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.9815, allocations: 38.67 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.9816, allocations: 2.375 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.9818, allocations: 119.3 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 3.356e-06/0.9818, allocations: 0 / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0003177/0.9821, allocations: 161.5 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.9822, allocations: 55.41 kB / 1.112 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.9823, allocations: 104.1 kB / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.9823, allocations: 33.7 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.9824, allocations: 88.14 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.9824, allocations: 27.64 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.9825, allocations: 4 kB / 1.112 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9826, allocations: 322.8 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.9827, allocations: 51.91 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.9828, allocations: 79.38 kB / 1.113 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.983, allocations: 53.95 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9831, allocations: 0 / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003778/0.9834, allocations: 181.6 kB / 1.113 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.9835, allocations: 37.69 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9835, allocations: 0 / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9835, allocations: 4 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.9836, allocations: 12 kB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9836, allocations: 3.938 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.9838, allocations: 48.08 kB / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.9839, allocations: 9.812 kB / 1.113 GB, free: 6.676 MB / 0.7136 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 () * 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 0.0001125/0.984, allocations: 112.9 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001915/0.9842, allocations: 151.5 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.9842, allocations: 7.906 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.9843, allocations: 12.75 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.9843, allocations: 4 kB / 1.114 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.9843, allocations: 3.984 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9843, allocations: 3.953 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.9847, allocations: 387.1 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9847, allocations: 0 / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.9847, allocations: 7.938 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.9847, allocations: 7.984 kB / 1.114 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.9848, allocations: 3.938 kB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9848, allocations: 4 kB / 1.114 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9848, allocations: 3.953 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.985, allocations: 249.5 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.9851, allocations: 85.05 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.9851, allocations: 3.984 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.9853, allocations: 8 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.9853, allocations: 19.97 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.9854, allocations: 15.94 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.9854, allocations: 83.28 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9854, allocations: 0 / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002629/0.9857, allocations: 29.22 kB / 1.114 GB, free: 5.41 MB / 0.7136 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) * 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.0006439/0.9863, allocations: 0.8046 MB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.9866, allocations: 179.3 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9866, allocations: 0 / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.784e-05/0.9868, allocations: 67.92 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.987, allocations: 8 kB / 1.115 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.9875, allocations: 165.9 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.9878, allocations: 0.7042 MB / 1.116 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.9878, allocations: 4.562 kB / 1.116 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.9879, allocations: 23.42 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9879, allocations: 2.062 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/1.011, allocations: 2.106 MB / 1.118 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.011, allocations: 159.7 kB / 1.119 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.613, allocations: 0 / 1.119 GB, free: 1.137 MB / 0.7136 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)