Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.749/2.749, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001535/0.001535, allocations: 186.5 kB / 370.8 MB, free: 10.86 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.236/2.236, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.00112/0.001119, allocations: 94.8 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007637/0.0007639, allocations: 13.53 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2602, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9477/1.208, allocations: 141.4 MB / 1.116 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.208, allocations: 80.34 kB / 1.116 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02999/1.238, allocations: 7.045 MB / 1.123 GB, free: 30.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.499e-06/1.238, allocations: 3.781 kB / 1.123 GB, free: 30.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.441e-05/1.238, allocations: 7.875 kB / 1.123 GB, free: 30.73 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001209/1.24, allocations: 0.5446 MB / 1.124 GB, free: 30.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.24, allocations: 11.7 kB / 1.124 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/1.24, allocations: 38.25 kB / 1.124 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/1.24, allocations: 29.31 kB / 1.124 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/1.241, allocations: 324.7 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/1.241, allocations: 7.75 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/1.241, allocations: 10.36 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/1.241, allocations: 102.1 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.241, allocations: 0 / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.241, allocations: 0 / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.241, allocations: 0 / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/1.241, allocations: 54.86 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/1.242, allocations: 477.5 kB / 1.125 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/1.243, allocations: 84.95 kB / 1.125 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/1.243, allocations: 4 kB / 1.125 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/1.243, allocations: 82.25 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.243, allocations: 0 / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004775/1.244, allocations: 128.8 kB / 1.125 GB, free: 29.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.244, allocations: 53.8 kB / 1.125 GB, free: 29.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/1.244, allocations: 346.3 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/1.244, allocations: 25.7 kB / 1.126 GB, free: 29.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.244, allocations: 156.7 kB / 1.126 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/1.244, allocations: 17.69 kB / 1.126 GB, free: 29.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/1.245, allocations: 3 kB / 1.126 GB, free: 29.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.245, allocations: 336.3 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/1.245, allocations: 69.44 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/1.245, allocations: 89.09 kB / 1.126 GB, free: 28.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/1.245, allocations: 75 kB / 1.126 GB, free: 28.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.245, allocations: 0 / 1.126 GB, free: 28.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005774/1.246, allocations: 224.3 kB / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.246, allocations: 7.844 kB / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.246, allocations: 0 / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.246, allocations: 0 / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.246, allocations: 22.2 kB / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.246, allocations: 0 / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.247, allocations: 26.67 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/1.247, allocations: 6.688 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002406/1.247, allocations: 151.7 kB / 1.127 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/1.247, allocations: 27.2 kB / 1.127 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/1.247, allocations: 123.2 kB / 1.127 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.247, allocations: 0 / 1.127 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.247, allocations: 4 kB / 1.127 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.247, allocations: 3.938 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/1.248, allocations: 261.3 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.248, allocations: 0 / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/1.248, allocations: 6.297 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.248, allocations: 3.953 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.248, allocations: 0 / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.248, allocations: 3.875 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.248, allocations: 0 / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/1.248, allocations: 143.7 kB / 1.127 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.248, allocations: 106.3 kB / 1.127 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/1.248, allocations: 10.09 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/1.248, allocations: 12.95 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/1.249, allocations: 11.48 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/1.249, allocations: 3.875 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003906/1.249, allocations: 242.1 kB / 1.128 GB, free: 28.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.249, allocations: 7.875 kB / 1.128 GB, free: 28.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003989/1.249, allocations: 46.59 kB / 1.128 GB, free: 28.16 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00183/1.251, allocations: 1.005 MB / 1.129 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000461/1.252, allocations: 108.3 kB / 1.129 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.252, allocations: 3.844 kB / 1.129 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.252, allocations: 39.3 kB / 1.129 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/1.252, allocations: 49.91 kB / 1.129 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/1.254, allocations: 0.8385 MB / 1.13 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.254, allocations: 0.753 MB / 1.13 GB, free: 26.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002122/1.255, allocations: 35.69 kB / 1.13 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/1.255, allocations: 68.44 kB / 1.131 GB, free: 26.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/1.255, allocations: 0 / 1.131 GB, free: 26.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/1.285, allocations: 4.928 MB / 1.135 GB, free: 24.56 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/1.285, allocations: 222.9 kB / 1.136 GB, free: 24.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.837, allocations: 0 / 1.136 GB, free: 24.32 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)