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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008806/0.008806, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001161/0.001161, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 69.28 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002305/0.3663, allocations: 0.7444 MB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.3666, allocations: 51.89 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.3667, allocations: 7.938 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3669, allocations: 15.86 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.3669, allocations: 11.92 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3671, allocations: 27.97 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3674, allocations: 127.6 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.3677, allocations: 160.5 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.3678, allocations: 63.8 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3679, allocations: 79.62 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.368, allocations: 12 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.368, allocations: 12 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.3681, allocations: 52.19 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3682, allocations: 83.42 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.3685, allocations: 227.2 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3685, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3685, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.3685, allocations: 3.984 kB / 1.09 GB, free: 15.8 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.0006076/0.3691, allocations: 0.4951 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3692, allocations: 8.031 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.3692, allocations: 28.56 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.3696, allocations: 256.9 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.3696, allocations: 8.75 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3696, allocations: 16.38 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.3701, allocations: 352.9 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3702, allocations: 3.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.3702, allocations: 8 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.3702, allocations: 12 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.3706, allocations: 263.8 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3718, allocations: 1.084 MB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3719, allocations: 165.1 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.372, allocations: 84.14 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/0.372, allocations: 79.28 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.3721, allocations: 113.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.3721, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001063/0.3722, allocations: 57.48 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.3723, allocations: 126.7 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.3729, allocations: 0.4964 MB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3729, allocations: 25.7 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.373, allocations: 163.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.3731, allocations: 3.984 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.3731, allocations: 25.72 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3733, allocations: 346.8 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.3734, allocations: 43.95 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.3735, allocations: 101.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3736, allocations: 105.9 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3736, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002983/0.3739, allocations: 185.3 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.374, allocations: 8 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.374, allocations: 3.938 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.374, allocations: 4 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3741, allocations: 19.98 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3741, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.3742, allocations: 39.67 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3742, allocations: 8.156 kB / 1.094 GB, free: 10.83 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.0001691/0.3744, allocations: 253 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.3745, allocations: 136.6 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.3746, allocations: 134.8 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-05/0.3747, allocations: 180.2 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-05/0.3747, allocations: 180.3 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.292e-05/0.3748, allocations: 185.6 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.3752, allocations: 497.1 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/0.3752, allocations: 101 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.3753, allocations: 108.9 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.323e-05/0.3754, allocations: 184.3 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.3754, allocations: 184.1 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.167e-05/0.3755, allocations: 176.3 kB / 1.096 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.208e-05/0.3756, allocations: 188.2 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.3758, allocations: 327.5 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.376, allocations: 218 kB / 1.097 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3761, allocations: 184.2 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3762, allocations: 109 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.3763, allocations: 188.2 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.3764, allocations: 105 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003924/0.3768, allocations: 367 kB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3768, allocations: 0 / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002707/0.3771, allocations: 24 kB / 1.098 GB, free: 6.664 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.0001691/0.3772, allocations: 182.5 kB / 1.098 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.3774, allocations: 67.83 kB / 1.098 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3774, allocations: 0 / 1.098 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3774, allocations: 3.938 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.3781, allocations: 485.1 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.3787, allocations: 471.2 kB / 1.099 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3791, allocations: 0.771 MB / 1.1 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.737e-05/0.3792, allocations: 45.53 kB / 1.1 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.3793, allocations: 23.44 kB / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3793, allocations: 0 / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of Templates: time 0.004713/0.384, allocations: 1.729 MB / 1.102 GB, free: 2.855 MB / 0.8575 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/jenkins/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