Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 183.4 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.2 MB / 0.7948 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 93.23 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004804, allocations: 6.938 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3317, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.5251, allocations: 149.4 MB / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5254, allocations: 87.94 kB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002258/0.5277, allocations: 0.8532 MB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.614e-06/0.5277, allocations: 3.938 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5277, allocations: 0 / 1.37 GB, free: 11.69 MB / 0.8698 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.0004561/0.5282, allocations: 367.8 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5282, allocations: 8.031 kB / 1.37 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.5283, allocations: 3.906 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.5284, allocations: 179 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.5284, allocations: 0 / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5284, allocations: 4 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.5287, allocations: 84.33 kB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5287, allocations: 0 / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.5287, allocations: 4 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.5287, allocations: 0 / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.529, allocations: 83.92 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.5296, allocations: 308.9 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.5298, allocations: 70.47 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.5299, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.5299, allocations: 38.55 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.5299, allocations: 0 / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005528/0.5305, allocations: 157.6 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5305, allocations: 55.41 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.5306, allocations: 108.9 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.5306, allocations: 25.7 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.5307, allocations: 88.12 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.5307, allocations: 3.906 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5307, allocations: 4 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5308, allocations: 314.8 kB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.531, allocations: 43.97 kB / 1.372 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.5311, allocations: 39.95 kB / 1.372 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.5313, allocations: 43.97 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5313, allocations: 0 / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000328/0.5316, allocations: 125.5 kB / 1.372 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5316, allocations: 4 kB / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5316, allocations: 0 / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5317, allocations: 0 / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.5318, allocations: 27.98 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5318, allocations: 0 / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.5319, allocations: 23.86 kB / 1.372 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.5319, allocations: 3.953 kB / 1.372 GB, free: 9.309 MB / 0.8698 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 7.665e-05/0.532, allocations: 125.8 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.532, allocations: 0 / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.5321, allocations: 11.91 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5321, allocations: 0 / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5321, allocations: 0 / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5321, allocations: 0 / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.5323, allocations: 173.5 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5323, allocations: 0 / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5324, allocations: 23.97 kB / 1.372 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5324, allocations: 4 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.5324, allocations: 0 / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5324, allocations: 0 / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5324, allocations: 0 / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.5328, allocations: 215.3 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.5328, allocations: 81.09 kB / 1.372 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.5329, allocations: 0 / 1.372 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.533, allocations: 27.98 kB / 1.372 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.533, allocations: 7.922 kB / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.5331, allocations: 0 / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.5331, allocations: 87.28 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5331, allocations: 0 / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002197/0.5333, allocations: 4 kB / 1.373 GB, free: 8.461 MB / 0.8698 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.0001283/0.5335, allocations: 107 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.5338, allocations: 91.91 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5338, allocations: 0 / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.534, allocations: 44.44 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.5342, allocations: 16.64 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.5345, allocations: 128.6 kB / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.5348, allocations: 0.6848 MB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.5349, allocations: 4 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.5349, allocations: 7.438 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/0.5349, allocations: 4 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of Templates: time 0.002375/0.5373, allocations: 0.5568 MB / 1.374 GB, free: 6.766 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches