Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 173.1 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009262/0.0009263, allocations: 106.4 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 10.41 kB / 1.084 GB, free: 221.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2454, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.421, allocations: 153.3 MB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4213, allocations: 75.97 kB / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03003/0.4514, allocations: 11.46 MB / 1.384 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4514, allocations: 3.938 kB / 1.384 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.33e-05/0.4514, allocations: 11.98 kB / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00108/0.4525, allocations: 0.6517 MB / 1.385 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4526, allocations: 12.03 kB / 1.385 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.4527, allocations: 50.55 kB / 1.385 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4528, allocations: 39.48 kB / 1.385 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.4536, allocations: 437.2 kB / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4537, allocations: 8.188 kB / 1.385 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.4537, allocations: 12 kB / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.454, allocations: 124.6 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.454, allocations: 0 / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.454, allocations: 4 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.454, allocations: 0 / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.4542, allocations: 72.52 kB / 1.385 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4553, allocations: 0.5753 MB / 1.386 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.4557, allocations: 138.6 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4557, allocations: 4 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.4559, allocations: 111.3 kB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.4559, allocations: 0 / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0005444/0.4565, allocations: 217.2 kB / 1.386 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4565, allocations: 51.41 kB / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.4572, allocations: 0.4928 MB / 1.387 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4572, allocations: 29.7 kB / 1.387 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4574, allocations: 180.4 kB / 1.387 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.4574, allocations: 39.62 kB / 1.387 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.4575, allocations: 4 kB / 1.387 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4576, allocations: 350.8 kB / 1.387 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.4579, allocations: 120.4 kB / 1.388 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.4582, allocations: 160.5 kB / 1.388 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.4584, allocations: 125 kB / 1.388 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4584, allocations: 0 / 1.388 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000688/0.4591, allocations: 368.9 kB / 1.388 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4592, allocations: 5.25 kB / 1.388 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4592, allocations: 4 kB / 1.388 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4592, allocations: 8.031 kB / 1.388 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.4594, allocations: 47.97 kB / 1.388 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4594, allocations: 7.938 kB / 1.388 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.4596, allocations: 27.83 kB / 1.388 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.4597, allocations: 19.98 kB / 1.388 GB, free: 8.371 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002122/0.4599, allocations: 181.8 kB / 1.388 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.46, allocations: 39.58 kB / 1.388 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.4604, allocations: 200.3 kB / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4604, allocations: 0 / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4604, allocations: 0 / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4604, allocations: 0 / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.4607, allocations: 321.5 kB / 1.389 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4608, allocations: 0 / 1.389 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.4608, allocations: 8 kB / 1.389 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4608, allocations: 3.953 kB / 1.389 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4608, allocations: 12 kB / 1.389 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.4609, allocations: 3.984 kB / 1.389 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4609, allocations: 0 / 1.389 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.4612, allocations: 212.5 kB / 1.389 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4613, allocations: 112.7 kB / 1.389 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.4614, allocations: 11.95 kB / 1.389 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4615, allocations: 19.98 kB / 1.389 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.4616, allocations: 19.97 kB / 1.389 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4616, allocations: 7.984 kB / 1.389 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004025/0.462, allocations: 327.1 kB / 1.39 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4621, allocations: 0 / 1.39 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003477/0.4624, allocations: 83.77 kB / 1.39 GB, free: 6.734 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001694/0.4641, allocations: 1.084 MB / 1.391 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000418/0.4645, allocations: 191.9 kB / 1.391 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4646, allocations: 4 kB / 1.391 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.4647, allocations: 67.91 kB / 1.391 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.4651, allocations: 85.55 kB / 1.391 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.4672, allocations: 1.254 MB / 1.392 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.4679, allocations: 0.8067 MB / 1.393 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.4681, allocations: 54.95 kB / 1.393 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.4684, allocations: 111.4 kB / 1.393 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of SimCode: time 7.72e-07/0.4684, allocations: 3.938 kB / 1.393 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.4893, allocations: 7.261 MB / 1.4 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.4895, allocations: 230.1 kB / 1.401 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.612, allocations: 0 / 1.401 GB, free: 11.79 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat does not exist to compare? outputFormat=mat