Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008503/0.008503, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001276/0.001276, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.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.653/2.653, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.28 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.394, allocations: 140.4 MB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002198/0.3962, allocations: 0.7369 MB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.3965, allocations: 63.83 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.3966, allocations: 3.938 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3967, allocations: 15.86 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.3968, allocations: 15.92 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.397, allocations: 27.95 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.3972, allocations: 119.7 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.3975, allocations: 156.5 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.3976, allocations: 67.8 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.3977, allocations: 75.62 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.3978, allocations: 12 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.3978, allocations: 12 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.3979, allocations: 56.12 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.398, allocations: 87.55 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3983, allocations: 235 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3983, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3983, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3983, allocations: 0 / 1.09 GB, free: 15.75 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006987/0.399, allocations: 499 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3991, allocations: 8.031 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.3991, allocations: 32.55 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.3994, allocations: 245 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3995, allocations: 16.75 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3995, allocations: 20.38 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.4, allocations: 352.8 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4, allocations: 3.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.4001, allocations: 4 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.4001, allocations: 19.98 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.4004, allocations: 267.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.4017, allocations: 1.088 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.4018, allocations: 169.1 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.4019, allocations: 80.14 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4019, allocations: 79.28 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.402, allocations: 110 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/0.402, allocations: 0 / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001127/0.4021, allocations: 65.14 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.4022, allocations: 126.7 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.4027, allocations: 0.4926 MB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4027, allocations: 25.7 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.4029, allocations: 175.8 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.4029, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.4029, allocations: 41.61 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4031, allocations: 334.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.4032, allocations: 47.97 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.4033, allocations: 98.83 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.4034, allocations: 118.7 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4034, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003147/0.4037, allocations: 193.1 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4038, allocations: 11.94 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4038, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4038, allocations: 4 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4039, allocations: 20.23 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4039, allocations: 8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.404, allocations: 31.67 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.4041, allocations: 15.92 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001883/0.4043, allocations: 245.1 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.4044, allocations: 128.6 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.001e-05/0.4045, allocations: 138.8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-05/0.4045, allocations: 180.3 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.792e-05/0.4046, allocations: 188.2 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.306e-05/0.4047, allocations: 181.7 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.4051, allocations: 497.1 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-05/0.4051, allocations: 104.9 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.4052, allocations: 101 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.4053, allocations: 196.1 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.4054, allocations: 180.2 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.343e-05/0.4055, allocations: 176.3 kB / 1.096 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.237e-05/0.4055, allocations: 180.2 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.4057, allocations: 335.4 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.4059, allocations: 214.1 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.406, allocations: 188.1 kB / 1.097 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.4061, allocations: 116.8 kB / 1.097 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.4062, allocations: 180.3 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.4063, allocations: 104.9 kB / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003821/0.4067, allocations: 375 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4067, allocations: 0 / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002718/0.4069, allocations: 24 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001979/0.4071, allocations: 174.5 kB / 1.098 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.4073, allocations: 63.89 kB / 1.098 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4073, allocations: 0.5 kB / 1.098 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.4073, allocations: 8 kB / 1.098 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/0.408, allocations: 481.3 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.4086, allocations: 475.2 kB / 1.099 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.409, allocations: 0.7749 MB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.4092, allocations: 53.52 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.4092, allocations: 15.44 kB / 1.1 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.4092, allocations: 0 / 1.1 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of Templates: time 0.004864/0.4141, allocations: 1.763 MB / 1.102 GB, free: 2.719 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches