Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001678/0.001678, allocations: 185.4 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9575/0.959, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001982/0.961, allocations: 0.7416 MB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002573/0.9613, allocations: 51.86 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.9613, allocations: 2.312 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.9615, allocations: 24.73 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.9616, allocations: 12.59 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.9618, allocations: 29.06 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.962, allocations: 119.3 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.9623, allocations: 151.8 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.9624, allocations: 68.41 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.9625, allocations: 76.12 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.9626, allocations: 12.5 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.55e-05/0.9626, allocations: 16.97 kB / 1.09 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.9627, allocations: 51.67 kB / 1.09 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.9628, allocations: 87.73 kB / 1.09 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.9631, allocations: 236.8 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.9631, allocations: 0 / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9631, allocations: 1.281 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.9632, allocations: 3.938 kB / 1.09 GB, free: 4.625 MB / 0.8575 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.0005758/0.9637, allocations: 0.4893 MB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.9638, allocations: 9.344 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.9639, allocations: 27.22 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.9642, allocations: 247 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.9642, allocations: 20.34 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.9643, allocations: 16.09 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.9648, allocations: 338.5 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.9648, allocations: 11.88 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.9649, allocations: 6.516 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.9649, allocations: 16.47 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.9653, allocations: 255.3 kB / 1.092 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.9666, allocations: 1.094 MB / 1.093 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.9667, allocations: 170 kB / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.9667, allocations: 89.03 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.9667, allocations: 79.28 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.9668, allocations: 107.5 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.9668, allocations: 0.8438 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.471e-05/0.9669, allocations: 57.28 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.9669, allocations: 51.41 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.9675, allocations: 0.4946 MB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.9676, allocations: 25.7 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.9677, allocations: 174.3 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/0.9677, allocations: 4 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.9677, allocations: 29.73 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.9678, allocations: 336.9 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.9679, allocations: 48.48 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.9681, allocations: 95.44 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.9682, allocations: 101 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9682, allocations: 5.062 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003465/0.9686, allocations: 184.4 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.9686, allocations: 6.188 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9686, allocations: 1.125 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.9686, allocations: 7.344 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.9687, allocations: 19.66 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.9688, allocations: 1.562 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.9689, allocations: 44.27 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.9689, allocations: 7.656 kB / 1.095 GB, free: 1.449 MB / 0.8575 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.0001757/0.9691, allocations: 248.5 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.9692, allocations: 128.5 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.9692, allocations: 144.2 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.9693, allocations: 178.2 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.9693, allocations: 106.6 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.9694, allocations: 214.7 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.9695, allocations: 179.5 kB / 1.096 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.9696, allocations: 109.9 kB / 1.096 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.9697, allocations: 177.8 kB / 1.096 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.54e-05/0.9698, allocations: 262.2 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001719/0.97, allocations: 413.8 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.008e-05/0.97, allocations: 106.1 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004659/0.9705, allocations: 364.1 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of Backend: time 3.11e-07/0.9705, allocations: 0 / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004915/0.971, allocations: 148.7 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001252/0.9723, allocations: 1.169 MB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.006167/0.9784, allocations: 2.117 MB / 1.101 GB, free: 13.86 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches