Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 179.2 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.5775 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009674/0.0009673, allocations: 95.81 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004377, allocations: 11.69 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.451, allocations: 131.4 MB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4513, allocations: 79.94 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002477/0.4538, allocations: 0.8527 MB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.178e-06/0.4539, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.4539, allocations: 3.938 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005312/0.4544, allocations: 379.1 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4545, allocations: 8.031 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.4545, allocations: 4 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.4547, allocations: 178.9 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4547, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.4547, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.455, allocations: 85.59 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.455, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.455, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4551, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.4554, allocations: 87.92 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.4559, allocations: 308.8 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.4561, allocations: 74.47 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.4562, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4562, allocations: 30.56 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4562, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005365/0.4567, allocations: 157.7 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.4568, allocations: 55.41 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.4569, allocations: 104.9 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4569, allocations: 25.7 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.457, allocations: 88.12 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.457, allocations: 11.81 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.457, allocations: 4 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4572, allocations: 318.8 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4573, allocations: 39.97 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.4575, allocations: 47.95 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4576, allocations: 31.97 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4576, allocations: 4 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003188/0.4579, allocations: 121.6 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.458, allocations: 4 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.458, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.458, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4581, allocations: 19.98 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4581, allocations: 0 / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.4582, allocations: 27.92 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4583, allocations: 4 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (less1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.749e-05/0.4584, allocations: 113.8 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.4584, allocations: 7.906 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.4584, allocations: 7.906 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4584, allocations: 3.938 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4585, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4585, allocations: 3.938 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.4586, allocations: 173.6 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4586, allocations: 0 / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.4588, allocations: 24.3 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4588, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4588, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4588, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4588, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.4592, allocations: 223.4 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.4593, allocations: 93 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.4593, allocations: 0 / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4594, allocations: 15.98 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.4595, allocations: 7.984 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4595, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.4595, allocations: 91.28 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4595, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001936/0.4597, allocations: 4 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (less1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001611/0.4599, allocations: 103.2 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.4603, allocations: 87.92 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4603, allocations: 0 / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4604, allocations: 55.91 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4607, allocations: 9.156 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.4611, allocations: 132.7 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.4614, allocations: 0.6926 MB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.4615, allocations: 4 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.4615, allocations: 7.438 kB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.4615, allocations: 0 / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of Templates: time 0.00266/0.4642, allocations: 0.556 MB / 1.034 GB, free: 6.422 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[509]=10.000000 File[5004]=1.000000 Error: Could not read variable les.u1 in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable les.u1 from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! Error: Could not read variable les.u2 in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable les.u2 from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! Error: Could not read variable les.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable les.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! Error: Could not read variable lesHys.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable lesHys.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! " Variables in the reference:time,les.u1,les.u2,les.y,lesHys.y Variables in the result:ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,time