Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 289.9 MB / 297.4 MB, free: 6.316 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.001395/0.001396, allocations: 176.9 kB / 366.7 MB, free: 1.637 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.035/2.035, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.001462/0.001462, allocations: 93.27 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.671e-05, allocations: 8 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8562, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/1.087, allocations: 141.8 MB / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.087, allocations: 75.95 kB / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01999/1.107, allocations: 6.981 MB / 1.119 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.288e-06/1.107, allocations: 0 / 1.119 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.638e-05/1.108, allocations: 8 kB / 1.119 GB, free: 1.367 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.0008768/1.108, allocations: 497.7 kB / 1.119 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/1.108, allocations: 12.03 kB / 1.119 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/1.109, allocations: 27.62 kB / 1.119 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/1.109, allocations: 334.3 kB / 1.12 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/1.109, allocations: 0 / 1.12 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/1.109, allocations: 8 kB / 1.12 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/1.109, allocations: 47.98 kB / 1.12 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/1.11, allocations: 78.92 kB / 1.12 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.11, allocations: 3.938 kB / 1.12 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/1.11, allocations: 3.984 kB / 1.12 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.11, allocations: 1.875 kB / 1.12 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/1.11, allocations: 437 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.111, allocations: 70.69 kB / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/1.111, allocations: 28.97 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/1.111, allocations: 4 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/1.111, allocations: 77.47 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/1.111, allocations: 0 / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002701/1.111, allocations: 105.5 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.111, allocations: 51.41 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/1.112, allocations: 314.2 kB / 1.121 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/1.112, allocations: 29.69 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/1.112, allocations: 147.9 kB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/1.112, allocations: 23.73 kB / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/1.112, allocations: 0 / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.112, allocations: 334.8 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/1.112, allocations: 59.98 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/1.112, allocations: 83.48 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/1.113, allocations: 75.98 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.113, allocations: 0 / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003516/1.113, allocations: 213.2 kB / 1.122 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.113, allocations: 6.438 kB / 1.122 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.113, allocations: 3.953 kB / 1.122 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.113, allocations: 7.984 kB / 1.122 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/1.113, allocations: 16 kB / 1.122 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.113, allocations: 6.812 kB / 1.122 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/1.113, allocations: 23.89 kB / 1.122 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/1.113, allocations: 4 kB / 1.122 GB, free: 14.09 MB / 0.7292 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.0001047/1.113, allocations: 113 kB / 1.122 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001497/1.114, allocations: 97.41 kB / 1.122 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/1.114, allocations: 27.66 kB / 1.122 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/1.114, allocations: 115.4 kB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.114, allocations: 4 kB / 1.122 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.114, allocations: 0 / 1.122 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.114, allocations: 4 kB / 1.122 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/1.114, allocations: 222.1 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.114, allocations: 0 / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/1.114, allocations: 7.25 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.114, allocations: 0 / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.114, allocations: 7.953 kB / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.114, allocations: 0 / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.114, allocations: 0 / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/1.114, allocations: 136.8 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/1.114, allocations: 104.8 kB / 1.123 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/1.114, allocations: 0 / 1.123 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/1.115, allocations: 15.94 kB / 1.123 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/1.115, allocations: 15.98 kB / 1.123 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.115, allocations: 4.734 kB / 1.123 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002017/1.115, allocations: 210 kB / 1.123 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 0 / 1.123 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002662/1.115, allocations: 51.94 kB / 1.123 GB, free: 12.89 MB / 0.7292 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.001275/1.116, allocations: 0.9435 MB / 1.124 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001983/1.117, allocations: 99.92 kB / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.117, allocations: 4 kB / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/1.117, allocations: 24 kB / 1.124 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/1.117, allocations: 58.84 kB / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/1.118, allocations: 344.5 kB / 1.124 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.118, allocations: 0.7672 MB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.602e-05/1.118, allocations: 25.06 kB / 1.125 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.118, allocations: 71.41 kB / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/1.118, allocations: 0 / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/1.146, allocations: 4.34 MB / 1.129 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/1.146, allocations: 177.6 kB / 1.129 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.957, allocations: 1.203 kB / 1.129 GB, free: 6.18 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)