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.779/1.779, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001591/0.001591, allocations: 180.6 kB / 371.6 MB, free: 3.422 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.582/1.582, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.000932/0.000932, allocations: 90.36 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.432e-05/4.435e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9517/1.263, allocations: 139.2 MB / 1.116 GB, free: 44.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/1.264, allocations: 74.94 kB / 1.116 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005772/1.27, allocations: 2.07 MB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.964e-06/1.27, allocations: 4 kB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.27, allocations: 0 / 1.118 GB, free: 43.29 MB / 0.7448 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.0004201/1.27, allocations: 395.1 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.791e-05/1.27, allocations: 12.03 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/1.27, allocations: 37.34 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/1.27, allocations: 12.06 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/1.27, allocations: 171.1 kB / 1.119 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/1.27, allocations: 15.14 kB / 1.119 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/1.271, allocations: 11.38 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/1.271, allocations: 83.86 kB / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/1.271, allocations: 0 / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/1.271, allocations: 0 / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.271, allocations: 0 / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/1.271, allocations: 43.77 kB / 1.119 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/1.271, allocations: 380.5 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/1.272, allocations: 92.25 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/1.272, allocations: 44.02 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/1.272, allocations: 0 / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/1.272, allocations: 137.4 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/1.272, allocations: 3.828 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.000291/1.272, allocations: 157.8 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.272, allocations: 55.41 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/1.272, allocations: 115.9 kB / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/1.272, allocations: 33.08 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/1.272, allocations: 91.27 kB / 1.12 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/1.272, allocations: 33.2 kB / 1.12 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/1.272, allocations: 4 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/1.273, allocations: 320.6 kB / 1.12 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/1.273, allocations: 48.75 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/1.273, allocations: 84.44 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/1.273, allocations: 79.88 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.273, allocations: 0 / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003321/1.273, allocations: 211.5 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/1.273, allocations: 36.95 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.273, allocations: 0.6875 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.273, allocations: 4.125 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/1.273, allocations: 19.97 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.273, allocations: 3.953 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/1.274, allocations: 49.42 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/1.274, allocations: 11.12 kB / 1.121 GB, free: 40.78 MB / 0.7448 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 9.498e-05/1.274, allocations: 125.8 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/1.274, allocations: 8.531 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/1.274, allocations: 12.64 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.274, allocations: 4 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.274, allocations: 0 / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.274, allocations: 7.375 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/1.274, allocations: 420.2 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.274, allocations: 12.09 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/1.274, allocations: 7.5 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.274, allocations: 0.75 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.274, allocations: 4 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/1.274, allocations: 4.094 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.275, allocations: 3.953 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/1.275, allocations: 260.5 kB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/1.275, allocations: 81.05 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/1.275, allocations: 11.19 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/1.275, allocations: 8.172 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.275, allocations: 22.94 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/1.275, allocations: 7.375 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.639e-05/1.275, allocations: 87.83 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.275, allocations: 0 / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002812/1.275, allocations: 42.81 kB / 1.122 GB, free: 39.77 MB / 0.7448 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.0005274/1.276, allocations: 0.8087 MB / 1.122 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002804/1.276, allocations: 191.9 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.276, allocations: 0 / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/1.276, allocations: 80.55 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/1.277, allocations: 14.67 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/1.277, allocations: 182.4 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/1.277, allocations: 0.6876 MB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.112e-05/1.277, allocations: 12.78 kB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/1.277, allocations: 22.44 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.277, allocations: 0 / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/1.291, allocations: 2.474 MB / 1.126 GB, free: 36.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.291, allocations: 173.7 kB / 1.126 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/3.029, allocations: 4.062 kB / 1.126 GB, free: 36.3 MB / 0.7448 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)