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.547/2.547, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001413/0.001413, allocations: 176.9 kB / 360.6 MB, free: 7.293 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.165/2.165, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001093/0.001092, allocations: 84.89 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.107e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.9291, allocations: 115.3 MB / 0.9634 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/1.208, allocations: 140.6 MB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/1.208, allocations: 75.95 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03159/1.24, allocations: 6.974 MB / 1.108 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.422e-06/1.24, allocations: 0 / 1.108 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.44e-05/1.24, allocations: 8 kB / 1.108 GB, free: 8.879 MB / 0.7136 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.0008677/1.241, allocations: 0.495 MB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.241, allocations: 12.03 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/1.241, allocations: 27.62 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/1.242, allocations: 322.4 kB / 1.109 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/1.242, allocations: 0 / 1.109 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/1.242, allocations: 12 kB / 1.109 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001692/1.242, allocations: 47.92 kB / 1.109 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/1.243, allocations: 82.44 kB / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.243, allocations: 0 / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/1.243, allocations: 0 / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.243, allocations: 0 / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/1.244, allocations: 437 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/1.244, allocations: 74.67 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.3e-05/1.244, allocations: 32.94 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/1.244, allocations: 1.406 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/1.244, allocations: 79.31 kB / 1.109 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/1.244, allocations: 0 / 1.109 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003512/1.245, allocations: 104.8 kB / 1.109 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.245, allocations: 51.41 kB / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/1.245, allocations: 314.2 kB / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/1.245, allocations: 29.7 kB / 1.11 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.246, allocations: 143.9 kB / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/1.246, allocations: 23.73 kB / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/1.246, allocations: 0 / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.246, allocations: 334.8 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/1.246, allocations: 63.97 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/1.246, allocations: 80.91 kB / 1.11 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/1.247, allocations: 84.89 kB / 1.11 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.247, allocations: 0 / 1.11 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006175/1.247, allocations: 209 kB / 1.111 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.247, allocations: 7.953 kB / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.247, allocations: 3.984 kB / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.247, allocations: 4 kB / 1.111 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/1.247, allocations: 27.92 kB / 1.111 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.248, allocations: 4 kB / 1.111 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/1.248, allocations: 16.02 kB / 1.111 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/1.248, allocations: 4 kB / 1.111 GB, free: 5.609 MB / 0.7136 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 () * 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.0001103/1.248, allocations: 108.9 kB / 1.111 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002485/1.248, allocations: 109.3 kB / 1.111 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/1.248, allocations: 23.67 kB / 1.111 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/1.249, allocations: 107.5 kB / 1.111 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/1.249, allocations: 4 kB / 1.111 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.249, allocations: 7.812 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.249, allocations: 0 / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/1.249, allocations: 222.1 kB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.249, allocations: 0 / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/1.249, allocations: 8 kB / 1.111 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.249, allocations: 7.953 kB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/1.249, allocations: 7.922 kB / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.249, allocations: 0 / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.249, allocations: 0 / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/1.249, allocations: 132.8 kB / 1.111 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.249, allocations: 100.8 kB / 1.111 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/1.25, allocations: 7.938 kB / 1.111 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/1.25, allocations: 8 kB / 1.111 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/1.25, allocations: 15.97 kB / 1.112 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/1.25, allocations: 0 / 1.112 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003206/1.25, allocations: 214.6 kB / 1.112 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.25, allocations: 4 kB / 1.112 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004233/1.251, allocations: 51.92 kB / 1.112 GB, free: 4.402 MB / 0.7136 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) * 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.001616/1.252, allocations: 0.9365 MB / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003415/1.253, allocations: 106.7 kB / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.253, allocations: 0 / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-05/1.253, allocations: 28 kB / 1.113 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/1.253, allocations: 44.48 kB / 1.113 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/1.254, allocations: 361.9 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/1.255, allocations: 0.7595 MB / 1.114 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001643/1.255, allocations: 26.39 kB / 1.114 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.255, allocations: 67.41 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of SimCode: time 1.203e-06/1.255, allocations: 1.312 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/1.303, allocations: 4.356 MB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/1.303, allocations: 172.2 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.896, allocations: 2.188 kB / 1.118 GB, free: 13.72 MB / 0.7292 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)