Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.558/2.558, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001586/0.001586, allocations: 186.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001115/0.001115, allocations: 92.27 kB / 0.7428 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004783, allocations: 11.34 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9324/1.151, allocations: 138.6 MB / 1.114 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.152, allocations: 72.7 kB / 1.114 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006071/1.158, allocations: 1.374 MB / 1.115 GB, free: 31.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/1.158, allocations: 0 / 1.115 GB, free: 31.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.158, allocations: 0 / 1.115 GB, free: 31.42 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005738/1.158, allocations: 366.5 kB / 1.115 GB, free: 31.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.158, allocations: 11.8 kB / 1.115 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/1.158, allocations: 33 kB / 1.115 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/1.158, allocations: 7.844 kB / 1.115 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/1.159, allocations: 181.3 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/1.159, allocations: 2.25 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/1.159, allocations: 6.719 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/1.159, allocations: 56.97 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.159, allocations: 4 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.159, allocations: 0 / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.159, allocations: 0 / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/1.159, allocations: 28.8 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/1.16, allocations: 306.4 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/1.16, allocations: 57.22 kB / 1.116 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/1.16, allocations: 0 / 1.116 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/1.16, allocations: 72.22 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/1.16, allocations: 2.188 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003087/1.16, allocations: 106.6 kB / 1.116 GB, free: 30.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/1.16, allocations: 61.97 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/1.161, allocations: 94.86 kB / 1.116 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.161, allocations: 33.17 kB / 1.116 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/1.161, allocations: 89.5 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/1.161, allocations: 21.09 kB / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/1.161, allocations: 0 / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.161, allocations: 317.4 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/1.161, allocations: 15.88 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/1.161, allocations: 53.73 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/1.161, allocations: 18.56 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.161, allocations: 0 / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001949/1.161, allocations: 93.58 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.161, allocations: 8.984 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.161, allocations: 0.9375 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.161, allocations: 3.938 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/1.161, allocations: 18.41 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/1.161, allocations: 3.953 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/1.162, allocations: 10.27 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/1.162, allocations: 3.906 kB / 1.117 GB, free: 29.68 MB / 0.698 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 () * Number of clocked 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 0.0001215/1.162, allocations: 120.4 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/1.162, allocations: 7.75 kB / 1.117 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/1.162, allocations: 11.39 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.162, allocations: 0 / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.162, allocations: 7.844 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.162, allocations: 3.953 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/1.162, allocations: 356.3 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.162, allocations: 3.844 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/1.163, allocations: 1.516 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/1.163, allocations: 7.812 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.163, allocations: 3.125 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.163, allocations: 7.953 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.163, allocations: 480 / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/1.163, allocations: 187.7 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/1.163, allocations: 80.95 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/1.163, allocations: 4.828 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.163, allocations: 9.312 kB / 1.118 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/1.163, allocations: 13.33 kB / 1.118 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/1.163, allocations: 4 kB / 1.118 GB, free: 28.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.666e-05/1.163, allocations: 82.53 kB / 1.118 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.163, allocations: 0 / 1.118 GB, free: 28.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002952/1.164, allocations: 17.75 kB / 1.118 GB, free: 28.91 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked 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.0005671/1.164, allocations: 0.7172 MB / 1.119 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001901/1.164, allocations: 56.38 kB / 1.119 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.164, allocations: 0 / 1.119 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/1.164, allocations: 26.08 kB / 1.119 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/1.165, allocations: 16.14 kB / 1.119 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/1.166, allocations: 0.8995 MB / 1.12 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/1.166, allocations: 0.6954 MB / 1.12 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.722e-05/1.166, allocations: 3.531 kB / 1.12 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/1.166, allocations: 21.2 kB / 1.12 GB, free: 26.72 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/1.166, allocations: 0 / 1.12 GB, free: 26.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/1.186, allocations: 1.479 MB / 1.122 GB, free: 26.54 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/1.186, allocations: 193.7 kB / 1.122 GB, free: 26.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/4.002, allocations: 3.938 kB / 1.122 GB, free: 26.3 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)