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.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001253/0.001252, allocations: 172.2 kB / 326.5 MB, free: 2.25 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.785/1.785, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009358/0.0009358, allocations: 83.75 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 15.78 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.461, allocations: 131.4 MB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.4613, allocations: 67.97 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002431/0.4638, allocations: 0.8448 MB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4638, allocations: 0 / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.4638, allocations: 0 / 1.029 GB, free: 11.44 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.0004759/0.4643, allocations: 379.1 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4644, allocations: 8.031 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.4644, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.4646, allocations: 171 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4646, allocations: 3.938 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.4646, allocations: 11.94 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.4649, allocations: 73.66 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4649, allocations: 3.984 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4649, allocations: 7.984 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4649, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.4652, allocations: 79.94 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.4658, allocations: 316.8 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.466, allocations: 70.48 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.466, allocations: 0 / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4661, allocations: 30.56 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4661, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005364/0.4666, allocations: 161.7 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4667, allocations: 51.41 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.4668, allocations: 104.9 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.4668, allocations: 29.7 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.4668, allocations: 84.14 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.4669, allocations: 11.81 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.4669, allocations: 0 / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.467, allocations: 326.8 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.4672, allocations: 39.97 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4673, allocations: 43.95 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.4675, allocations: 43.97 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4675, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003273/0.4678, allocations: 117.6 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4678, allocations: 7.938 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4678, allocations: 0 / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4679, allocations: 0 / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.468, allocations: 23.97 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.468, allocations: 3.938 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.4681, allocations: 19.98 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4681, allocations: 0 / 1.031 GB, free: 9.051 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 (lesEqu.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.162e-05/0.4682, allocations: 117.8 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.4683, allocations: 3.906 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.4683, allocations: 3.906 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4683, allocations: 4 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4683, allocations: 7.922 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4683, allocations: 4 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4685, allocations: 173.6 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4685, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.4686, allocations: 15.98 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4686, allocations: 4 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.4687, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4687, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4687, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.4691, allocations: 227.7 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.4691, allocations: 81.02 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4691, allocations: 48 / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4693, allocations: 23.95 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.4693, allocations: 4 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.4694, allocations: 0 / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.4694, allocations: 95.27 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.4694, allocations: 0 / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002141/0.4696, allocations: 4 kB / 1.032 GB, free: 8.199 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 (lesEqu.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.0001561/0.4698, allocations: 104.8 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.4701, allocations: 91.92 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4702, allocations: 0 / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4703, allocations: 51.89 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.4706, allocations: 7.953 kB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.4709, allocations: 132.8 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4713, allocations: 0.6926 MB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.4713, allocations: 3.938 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.4714, allocations: 7.438 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/0.4714, allocations: 3.938 kB / 1.033 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of Templates: time 0.002831/0.4742, allocations: 0.5525 MB / 1.034 GB, free: 6.5 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches