Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.805/1.805, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001208/0.001209, allocations: 181.6 kB / 371.6 MB, free: 3.395 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.643/1.643, allocations: 205.2 MB / 0.6309 GB, free: 11.72 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.001007/0.001008, allocations: 91.27 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.69e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2822, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.826/1.108, allocations: 139.7 MB / 1.116 GB, free: 44.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/1.108, allocations: 71.23 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003748/1.112, allocations: 1.367 MB / 1.118 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/1.112, allocations: 0 / 1.118 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.112, allocations: 4 kB / 1.118 GB, free: 43.19 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003324/1.113, allocations: 344.2 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.113, allocations: 12.03 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/1.113, allocations: 39.84 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/1.113, allocations: 8.062 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.113, allocations: 164.5 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.113, allocations: 14.66 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1.113, allocations: 5.219 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/1.113, allocations: 52.89 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.113, allocations: 0.5 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.113, allocations: 4.562 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.113, allocations: 0 / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/1.113, allocations: 30.95 kB / 1.118 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/1.114, allocations: 303.8 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.73e-05/1.114, allocations: 63.41 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/1.114, allocations: 27.7 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/1.114, allocations: 0 / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/1.114, allocations: 69.55 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/1.114, allocations: 0 / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001688/1.114, allocations: 86.06 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/1.114, allocations: 59.36 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.509e-05/1.114, allocations: 100.4 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.114, allocations: 29.58 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/1.114, allocations: 84.14 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/1.114, allocations: 27.77 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.114, allocations: 3.625 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/1.114, allocations: 310.8 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/1.114, allocations: 19.62 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/1.114, allocations: 50.5 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/1.114, allocations: 20.2 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.114, allocations: 0 / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001135/1.115, allocations: 97.75 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.115, allocations: 4 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.115, allocations: 0 / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.115, allocations: 4.562 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/1.115, allocations: 15.97 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.115, allocations: 0 / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/1.115, allocations: 15.38 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/1.115, allocations: 8.703 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 5.014e-05/1.115, allocations: 105.6 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/1.115, allocations: 8.531 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/1.115, allocations: 7.656 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/1.115, allocations: 4.75 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.115, allocations: 5.734 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.115, allocations: 0 / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/1.115, allocations: 366.3 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.115, allocations: 0 / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/1.115, allocations: 4.812 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.115, allocations: 0.5625 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.115, allocations: 11.36 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.115, allocations: 4 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.115, allocations: 3.953 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/1.115, allocations: 175.3 kB / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/1.115, allocations: 85.02 kB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/1.115, allocations: 0.5625 kB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/1.116, allocations: 11.19 kB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/1.116, allocations: 15.52 kB / 1.12 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/1.116, allocations: 5.125 kB / 1.12 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.229e-05/1.116, allocations: 83.22 kB / 1.121 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.116, allocations: 0 / 1.121 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002037/1.116, allocations: 13.12 kB / 1.121 GB, free: 40.28 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002788/1.116, allocations: 0.7117 MB / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000111/1.116, allocations: 60.34 kB / 1.121 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.116, allocations: 0 / 1.121 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/1.116, allocations: 27.88 kB / 1.121 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/1.117, allocations: 10.09 kB / 1.121 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/1.117, allocations: 131 kB / 1.121 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/1.117, allocations: 0.6954 MB / 1.122 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.639e-05/1.117, allocations: 11.53 kB / 1.122 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/1.117, allocations: 19 kB / 1.122 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.117, allocations: 0 / 1.122 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/1.13, allocations: 1.485 MB / 1.124 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/1.13, allocations: 169.5 kB / 1.124 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.701, allocations: 0 / 1.124 GB, free: 37.61 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)