Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.295/2.295, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00109/0.00109, allocations: 187.9 kB / 0.4902 GB, free: 2.215 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.615/1.615, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001126/0.001126, allocations: 92.14 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003903, allocations: 7 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3015, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4818, allocations: 150.1 MB / 1.376 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.4821, allocations: 87.94 kB / 1.376 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001785/0.4839, allocations: 0.6334 MB / 1.377 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.494e-06/0.4839, allocations: 0 / 1.377 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.484, allocations: 3.938 kB / 1.377 GB, free: 2.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004012/0.4844, allocations: 339.6 kB / 1.377 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4844, allocations: 8.562 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.4845, allocations: 3.906 kB / 1.377 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.4846, allocations: 171 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4846, allocations: 0 / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.4846, allocations: 3.938 kB / 1.377 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.4848, allocations: 57.67 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4848, allocations: 4 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4848, allocations: 0 / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4849, allocations: 0 / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.485, allocations: 55.89 kB / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.4855, allocations: 261.8 kB / 1.377 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.4856, allocations: 46.55 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.4856, allocations: 0 / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4857, allocations: 30.56 kB / 1.377 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.4857, allocations: 0 / 1.377 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003711/0.4861, allocations: 105.6 kB / 1.378 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4861, allocations: 51.41 kB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4862, allocations: 93 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4863, allocations: 25.7 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.4863, allocations: 92.03 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.4863, allocations: 8.062 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.4864, allocations: 4 kB / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4865, allocations: 314.8 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/0.4866, allocations: 19.98 kB / 1.378 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.4867, allocations: 23.98 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.537e-05/0.4868, allocations: 23.97 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4868, allocations: 0 / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002145/0.487, allocations: 81.67 kB / 1.378 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.487, allocations: 4 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.487, allocations: 0 / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4871, allocations: 0 / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.4872, allocations: 11.98 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4872, allocations: 0 / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.4873, allocations: 15.89 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.4873, allocations: 4.031 kB / 1.378 GB, free: 0.6484 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 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.234e-05/0.4874, allocations: 114.8 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.4874, allocations: 0 / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.4874, allocations: 11.11 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4874, allocations: 0 / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4874, allocations: 11.92 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4874, allocations: 3.938 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4876, allocations: 161.6 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4876, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.4877, allocations: 15.98 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4877, allocations: 0 / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.4877, allocations: 0 / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4877, allocations: 0 / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4877, allocations: 3.938 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.488, allocations: 175.5 kB / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.488, allocations: 81.11 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.4881, allocations: 0 / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.4882, allocations: 12.23 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4882, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.4882, allocations: 4 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.4883, allocations: 91.3 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4883, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001931/0.4885, allocations: 4 kB / 1.379 GB, free: 15.88 MB / 0.8855 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 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000124/0.4886, allocations: 100 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.4888, allocations: 47.91 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.4889, allocations: 4 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.188e-05/0.489, allocations: 27.97 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.4892, allocations: 5.078 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.4895, allocations: 116.7 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4898, allocations: 0.6809 MB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.4898, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.4898, allocations: 11.38 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of SimCode: time 3.7e-07/0.4899, allocations: 0 / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of Templates: time 0.002206/0.4921, allocations: 388 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches