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.TimerNegativeStartTime.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.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.00118/0.00118, allocations: 181 kB / 371.8 MB, free: 10.27 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.858/1.858, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000967/0.0009671, allocations: 97.09 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004385, allocations: 21.11 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7001/0.93, allocations: 138.3 MB / 1.115 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.9303, allocations: 71.73 kB / 1.115 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006122/0.9364, allocations: 2.08 MB / 1.117 GB, free: 31.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9365, allocations: 0 / 1.117 GB, free: 31.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.9365, allocations: 3.875 kB / 1.117 GB, free: 31.78 MB / 0.698 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.0004731/0.937, allocations: 411.4 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.937, allocations: 7.781 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.9371, allocations: 33.98 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.9371, allocations: 11.59 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.9372, allocations: 174.6 kB / 1.117 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.9373, allocations: 10.56 kB / 1.117 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.9373, allocations: 19.45 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.9375, allocations: 86.84 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9375, allocations: 0 / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.9375, allocations: 3.281 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.9375, allocations: 3.812 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.9376, allocations: 40.23 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.9382, allocations: 377.5 kB / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.9384, allocations: 96.08 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.9384, allocations: 0 / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.9387, allocations: 138.5 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.9387, allocations: 0 / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0003493/0.939, allocations: 197.1 kB / 1.118 GB, free: 30.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.9391, allocations: 61.38 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.9392, allocations: 102.3 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.9392, allocations: 32.77 kB / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.9393, allocations: 93.42 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.9393, allocations: 33.34 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.9393, allocations: 3.875 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9394, allocations: 331.7 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/0.9395, allocations: 52.03 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.9396, allocations: 84.44 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.9398, allocations: 75.95 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9398, allocations: 4 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003052/0.9401, allocations: 214.2 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.9401, allocations: 39.88 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9401, allocations: 4.703 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.9402, allocations: 0 / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.9402, allocations: 7.219 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.9402, allocations: 7.781 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.9405, allocations: 56.92 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.9405, allocations: 11.66 kB / 1.119 GB, free: 29.88 MB / 0.698 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 0.0001024/0.9406, allocations: 126.6 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.9406, allocations: 13.97 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.9406, allocations: 15.5 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9407, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9407, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9407, allocations: 3.781 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.9411, allocations: 437.8 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9411, allocations: 0 / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.9411, allocations: 3.875 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9411, allocations: 0 / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.9411, allocations: 2.859 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9411, allocations: 7.906 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9411, allocations: 3.953 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.9414, allocations: 265.3 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.9414, allocations: 82.84 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.9415, allocations: 5.484 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.9415, allocations: 10.25 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.9416, allocations: 13.67 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.9416, allocations: 17.3 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.9417, allocations: 89.83 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9417, allocations: 0 / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002612/0.942, allocations: 40.5 kB / 1.12 GB, free: 29.12 MB / 0.698 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.0006067/0.9426, allocations: 0.8175 MB / 1.121 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.9428, allocations: 195.4 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9428, allocations: 3.938 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.9429, allocations: 75.67 kB / 1.122 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.9431, allocations: 14.78 kB / 1.122 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.944, allocations: 1.038 MB / 1.123 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.9443, allocations: 0.6895 MB / 1.123 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.9443, allocations: 7.125 kB / 1.123 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.9444, allocations: 21.28 kB / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.9444, allocations: 1.312 kB / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.9574, allocations: 2.434 MB / 1.126 GB, free: 26.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.9577, allocations: 208.5 kB / 1.126 GB, free: 26.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.466, allocations: 0 / 1.126 GB, free: 26.22 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)