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.001597/0.001597, allocations: 107 kB / 16.41 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.001798/0.001798, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.454/1.454, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 63.91 kB / 1.066 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002541/1.134, allocations: 0.7381 MB / 1.222 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000303/1.134, allocations: 55.83 kB / 1.222 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/1.135, allocations: 0 / 1.222 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/1.135, allocations: 19.8 kB / 1.222 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/1.135, allocations: 11.92 kB / 1.222 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/1.135, allocations: 27.97 kB / 1.222 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/1.135, allocations: 127.7 kB / 1.222 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/1.136, allocations: 156.5 kB / 1.222 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/1.136, allocations: 63.8 kB / 1.222 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/1.136, allocations: 75.64 kB / 1.222 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/1.136, allocations: 16 kB / 1.222 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.508e-05/1.136, allocations: 8 kB / 1.222 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/1.136, allocations: 59.83 kB / 1.222 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/1.136, allocations: 83.42 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/1.136, allocations: 235.1 kB / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.136, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/1.136, allocations: 3.938 kB / 1.223 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.136, allocations: 0 / 1.223 GB, free: 0.6758 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.0007142/1.137, allocations: 0.489 MB / 1.223 GB, free: 144 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/1.137, allocations: 16.56 kB / 1.223 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/1.137, allocations: 28.66 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/1.138, allocations: 252 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.138, allocations: 16.75 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/1.138, allocations: 16.38 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/1.138, allocations: 337.1 kB / 1.224 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.138, allocations: 3.938 kB / 1.224 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/1.138, allocations: 8 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/1.138, allocations: 19.97 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/1.139, allocations: 263.8 kB / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/1.14, allocations: 1.088 MB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/1.14, allocations: 173.1 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/1.14, allocations: 84.17 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/1.14, allocations: 75.28 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/1.141, allocations: 105.8 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/1.141, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.000121/1.141, allocations: 53.48 kB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/1.141, allocations: 59.39 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/1.141, allocations: 0.4887 MB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/1.141, allocations: 29.7 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/1.142, allocations: 167.8 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/1.142, allocations: 0 / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/1.142, allocations: 29.7 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.142, allocations: 338.8 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/1.142, allocations: 51.95 kB / 1.227 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.142, allocations: 89.97 kB / 1.227 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/1.142, allocations: 113.8 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.142, allocations: 0 / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003169/1.142, allocations: 189 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.142, allocations: 4 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.142, allocations: 4.219 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.142, allocations: 7.938 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.143, allocations: 19.98 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/1.143, allocations: 7.938 kB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/1.143, allocations: 35.67 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/1.143, allocations: 8 kB / 1.227 GB, free: 11.77 MB / 0.9512 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.0001924/1.143, allocations: 245.6 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/1.143, allocations: 124.7 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/1.143, allocations: 142.7 kB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/1.143, allocations: 188.2 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/1.143, allocations: 104.9 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/1.143, allocations: 217.8 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.144, allocations: 176.3 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.144, allocations: 108.9 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/1.144, allocations: 180.3 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001111/1.144, allocations: 263.5 kB / 1.229 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002313/1.144, allocations: 403.7 kB / 1.229 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.845e-05/1.144, allocations: 104.9 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003854/1.145, allocations: 371 kB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of Backend: time 4.51e-07/1.145, allocations: 0 / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004922/1.145, allocations: 138.3 kB / 1.23 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001213/1.146, allocations: 1.179 MB / 1.231 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of Templates: time 0.005607/1.152, allocations: 2.113 MB / 1.233 GB, free: 5.594 MB / 0.9512 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