Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 114.8 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 186.6 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001337, allocations: 75.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9723/0.9737, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002483/0.9762, allocations: 0.7311 MB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.9765, allocations: 55.83 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.9766, allocations: 4 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.9768, allocations: 15.8 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.9768, allocations: 15.91 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.977, allocations: 35.97 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.9772, allocations: 123.7 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.9775, allocations: 152.5 kB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.9776, allocations: 75.78 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.9777, allocations: 71.64 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.9777, allocations: 15.94 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.13e-05/0.9777, allocations: 12 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.9778, allocations: 47.86 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.9779, allocations: 87.41 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.9782, allocations: 235.1 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9782, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9782, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.9782, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005471/0.9787, allocations: 0.4968 MB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9788, allocations: 8.031 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.9788, allocations: 24.66 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.9791, allocations: 249.2 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.9791, allocations: 16.75 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.9792, allocations: 20.36 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.9796, allocations: 344.8 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.9797, allocations: 4 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.9797, allocations: 8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.9797, allocations: 15.98 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.9801, allocations: 259.8 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.9813, allocations: 1.08 MB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.552e-05/0.9814, allocations: 173.1 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.9814, allocations: 84.17 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.9814, allocations: 75.28 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.9815, allocations: 110 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.9815, allocations: 0 / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/0.9816, allocations: 61.2 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.9816, allocations: 55.41 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.9821, allocations: 0.4926 MB / 1.214 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.9822, allocations: 25.7 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.9823, allocations: 167.8 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-06/0.9823, allocations: 0 / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.9824, allocations: 29.7 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9825, allocations: 342.8 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.9826, allocations: 51.95 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.765e-05/0.9827, allocations: 89.95 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.9828, allocations: 109.8 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.9828, allocations: 4 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002963/0.9831, allocations: 181.2 kB / 1.215 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9831, allocations: 8.219 kB / 1.215 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9832, allocations: 7.938 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9832, allocations: 0 / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9833, allocations: 19.98 kB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.9833, allocations: 15.97 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.9834, allocations: 39.58 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.9835, allocations: 8 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.9837, allocations: 245.1 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.9838, allocations: 128.7 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/0.9839, allocations: 138.7 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.183e-05/0.984, allocations: 180.3 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.984, allocations: 108.9 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.9842, allocations: 209.8 kB / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.9843, allocations: 184.2 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9844, allocations: 108.9 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.9845, allocations: 184.3 kB / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001147/0.9846, allocations: 255.5 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002102/0.9848, allocations: 410.7 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.259e-05/0.9849, allocations: 109 kB / 1.217 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003461/0.9852, allocations: 359 kB / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of Backend: time 6.61e-07/0.9853, allocations: 0 / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.9857, allocations: 142.3 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001054/0.9868, allocations: 1.184 MB / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of Templates: time 0.004727/0.9915, allocations: 2.114 MB / 1.22 GB, free: 0.8867 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches