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 1.668/1.668, allocations: 288.2 MB / 303.2 MB, free: 8.246 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.001038/0.001038, allocations: 185.5 kB / 371.8 MB, free: 10.32 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.847/1.847, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001047/0.001047, allocations: 99.2 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 17.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9077/1.169, allocations: 141.6 MB / 1.118 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.17, allocations: 84.06 kB / 1.118 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01942/1.189, allocations: 7.042 MB / 1.125 GB, free: 31.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.557e-06/1.189, allocations: 3.938 kB / 1.125 GB, free: 31.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.149e-05/1.189, allocations: 7.328 kB / 1.125 GB, free: 31.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.001027/1.19, allocations: 0.5451 MB / 1.125 GB, free: 31.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.19, allocations: 15.7 kB / 1.125 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.117e-05/1.19, allocations: 41.81 kB / 1.125 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/1.19, allocations: 21.92 kB / 1.125 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/1.191, allocations: 331.9 kB / 1.126 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/1.191, allocations: 3.812 kB / 1.126 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/1.191, allocations: 15.42 kB / 1.126 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/1.191, allocations: 96.89 kB / 1.126 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.191, allocations: 0 / 1.126 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.191, allocations: 6.312 kB / 1.126 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.191, allocations: 0 / 1.126 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/1.192, allocations: 50.83 kB / 1.126 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/1.192, allocations: 469.2 kB / 1.126 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/1.193, allocations: 87.25 kB / 1.126 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.193, allocations: 3.188 kB / 1.126 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/1.193, allocations: 85.06 kB / 1.126 GB, free: 30.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.454e-06/1.193, allocations: 4 kB / 1.126 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003663/1.193, allocations: 134.1 kB / 1.127 GB, free: 30.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.193, allocations: 51.41 kB / 1.127 GB, free: 30.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/1.194, allocations: 344 kB / 1.127 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.194, allocations: 33.02 kB / 1.127 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.194, allocations: 147.6 kB / 1.127 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/1.194, allocations: 17.72 kB / 1.127 GB, free: 30.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/1.194, allocations: 3.625 kB / 1.127 GB, free: 30.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.194, allocations: 341 kB / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/1.194, allocations: 66.38 kB / 1.128 GB, free: 29.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/1.194, allocations: 95.34 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/1.194, allocations: 64.86 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.194, allocations: 3.906 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003525/1.195, allocations: 221.3 kB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.195, allocations: 6.656 kB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.195, allocations: 4 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.195, allocations: 3.656 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/1.195, allocations: 17.78 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.195, allocations: 3.938 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/1.195, allocations: 17.17 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.195, allocations: 13.7 kB / 1.128 GB, free: 29.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.0001598/1.195, allocations: 154.8 kB / 1.128 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/1.195, allocations: 27.3 kB / 1.128 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/1.196, allocations: 119 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.196, allocations: 3.781 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.196, allocations: 0 / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.196, allocations: 0 / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/1.196, allocations: 254 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.196, allocations: 0 / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/1.196, allocations: 11.59 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.196, allocations: 4 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.196, allocations: 13.73 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.196, allocations: 0 / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.196, allocations: 0 / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/1.196, allocations: 135.6 kB / 1.129 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/1.196, allocations: 106.8 kB / 1.129 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/1.196, allocations: 3.062 kB / 1.129 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/1.197, allocations: 18.78 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/1.197, allocations: 17.08 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/1.197, allocations: 3.984 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002342/1.197, allocations: 240.2 kB / 1.129 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.197, allocations: 3.938 kB / 1.129 GB, free: 29.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003115/1.197, allocations: 51.95 kB / 1.129 GB, free: 29.15 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.001405/1.199, allocations: 0.9975 MB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002493/1.199, allocations: 115.2 kB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.199, allocations: 0 / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/1.199, allocations: 34.36 kB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/1.199, allocations: 55.23 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/1.2, allocations: 0.8388 MB / 1.131 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/1.201, allocations: 0.761 MB / 1.132 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001328/1.201, allocations: 21.45 kB / 1.132 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.201, allocations: 68.34 kB / 1.132 GB, free: 27.03 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.201, allocations: 3.781 kB / 1.132 GB, free: 27.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/1.22, allocations: 4.941 MB / 1.137 GB, free: 24.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.22, allocations: 227.9 kB / 1.137 GB, free: 24.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/3.174, allocations: 0 / 1.137 GB, free: 24.43 MB / 0.698 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)