Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 2.289/2.289, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001652/0.001652, allocations: 172.9 kB / 361.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008868/0.0008866, allocations: 97.41 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.822e-05/4.814e-05, allocations: 8 kB / 0.8519 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9382, allocations: 115.3 MB / 0.9645 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/1.164, allocations: 140.8 MB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.165, allocations: 71.95 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0199/1.185, allocations: 6.98 MB / 1.109 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.635e-06/1.185, allocations: 0 / 1.109 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.492e-05/1.185, allocations: 4 kB / 1.109 GB, free: 7.949 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.0008006/1.186, allocations: 0.4951 MB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.186, allocations: 8.031 kB / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/1.186, allocations: 28.66 kB / 1.109 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/1.186, allocations: 330.4 kB / 1.11 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/1.186, allocations: 4 kB / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/1.186, allocations: 4 kB / 1.11 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/1.186, allocations: 43.98 kB / 1.11 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/1.187, allocations: 81.61 kB / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.187, allocations: 0 / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.187, allocations: 0 / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.187, allocations: 4 kB / 1.11 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/1.187, allocations: 441 kB / 1.11 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/1.188, allocations: 69.31 kB / 1.11 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/1.188, allocations: 28.97 kB / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/1.188, allocations: 4 kB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/1.188, allocations: 85.03 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.188, allocations: 0 / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003217/1.188, allocations: 97.55 kB / 1.111 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.188, allocations: 51.41 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/1.189, allocations: 314.2 kB / 1.111 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/1.189, allocations: 29.7 kB / 1.111 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.189, allocations: 147.9 kB / 1.111 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/1.189, allocations: 19.73 kB / 1.111 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/1.189, allocations: 0 / 1.111 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.189, allocations: 334.8 kB / 1.111 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/1.189, allocations: 59.98 kB / 1.111 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/1.189, allocations: 87.8 kB / 1.112 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/1.189, allocations: 71.89 kB / 1.112 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.189, allocations: 4.031 kB / 1.112 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003607/1.19, allocations: 209.8 kB / 1.112 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.19, allocations: 8 kB / 1.112 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.19, allocations: 3.953 kB / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.19, allocations: 0 / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.19, allocations: 27.92 kB / 1.112 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.19, allocations: 1.562 kB / 1.112 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.19, allocations: 15.92 kB / 1.112 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/1.19, allocations: 12.03 kB / 1.112 GB, free: 4.68 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 9.233e-05/1.19, allocations: 117 kB / 1.112 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001588/1.19, allocations: 101.3 kB / 1.112 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/1.19, allocations: 27.67 kB / 1.112 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/1.191, allocations: 114.2 kB / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.191, allocations: 0 / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.191, allocations: 0 / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.191, allocations: 0 / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/1.191, allocations: 231.5 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.191, allocations: 4 kB / 1.112 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/1.191, allocations: 4 kB / 1.112 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.191, allocations: 3.469 kB / 1.112 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.191, allocations: 3.953 kB / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.191, allocations: 0 / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.191, allocations: 0 / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/1.191, allocations: 132.8 kB / 1.113 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/1.191, allocations: 108.8 kB / 1.113 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/1.191, allocations: 4 kB / 1.113 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/1.191, allocations: 18 kB / 1.113 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/1.192, allocations: 7.984 kB / 1.113 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/1.192, allocations: 11.98 kB / 1.113 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000212/1.192, allocations: 210 kB / 1.113 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.192, allocations: 0 / 1.113 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003194/1.192, allocations: 47.94 kB / 1.113 GB, free: 3.473 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.001278/1.193, allocations: 0.9334 MB / 1.114 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002026/1.194, allocations: 103.9 kB / 1.114 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.194, allocations: 0 / 1.114 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.271e-05/1.194, allocations: 28 kB / 1.114 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/1.194, allocations: 52.86 kB / 1.114 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/1.195, allocations: 358.8 kB / 1.114 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/1.195, allocations: 0.7595 MB / 1.115 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.966e-05/1.195, allocations: 34.89 kB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.195, allocations: 71.41 kB / 1.115 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/1.195, allocations: 1.594 kB / 1.115 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/1.225, allocations: 4.344 MB / 1.119 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/1.225, allocations: 186 kB / 1.12 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/3.158, allocations: 4 kB / 1.12 GB, free: 12.75 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)