Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.0008766/0.0008767, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006008/0.006008, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.683/1.683, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.045/3.045, allocations: 470.6 MB / 0.7442 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004066, allocations: 10.44 kB / 0.9123 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.369, allocations: 161.4 MB / 1.07 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001111/0.3702, allocations: 472.3 kB / 1.07 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.3704, allocations: 51.83 kB / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.3705, allocations: 4 kB / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3707, allocations: 15.86 kB / 1.07 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.3707, allocations: 19.91 kB / 1.07 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3709, allocations: 23.97 kB / 1.07 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3711, allocations: 115.7 kB / 1.071 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.3714, allocations: 152.5 kB / 1.071 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.3714, allocations: 31.8 kB / 1.071 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.3715, allocations: 47.66 kB / 1.071 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.3716, allocations: 4 kB / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3716, allocations: 8 kB / 1.071 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.3716, allocations: 31.86 kB / 1.071 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.3717, allocations: 89.14 kB / 1.071 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.372, allocations: 215.2 kB / 1.071 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.372, allocations: 3.938 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.372, allocations: 0 / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.372, allocations: 0 / 1.071 GB, free: 10.09 MB / 0.8262 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.0006008/0.3726, allocations: 451.5 kB / 1.072 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3727, allocations: 8.031 kB / 1.072 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.3727, allocations: 24.66 kB / 1.072 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.373, allocations: 259.8 kB / 1.072 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3731, allocations: 16.69 kB / 1.072 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3731, allocations: 24.38 kB / 1.072 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.3736, allocations: 339 kB / 1.072 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3737, allocations: 7.875 kB / 1.072 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3737, allocations: 4 kB / 1.072 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.3737, allocations: 15.98 kB / 1.072 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.3741, allocations: 255.9 kB / 1.072 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.3754, allocations: 1.08 MB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3755, allocations: 177.1 kB / 1.074 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.3756, allocations: 84.14 kB / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.3756, allocations: 79.28 kB / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.461e-05/0.3757, allocations: 109.8 kB / 1.074 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3757, allocations: 0 / 1.074 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.000109/0.3758, allocations: 53.55 kB / 1.074 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.3759, allocations: 134.6 kB / 1.074 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.3765, allocations: 0.4887 MB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3765, allocations: 25.7 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3766, allocations: 175.7 kB / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.3767, allocations: 0 / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3767, allocations: 17.72 kB / 1.075 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3768, allocations: 334.8 kB / 1.075 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.3769, allocations: 51.95 kB / 1.075 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.377, allocations: 89.97 kB / 1.075 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3772, allocations: 109.8 kB / 1.075 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3772, allocations: 4 kB / 1.075 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002962/0.3775, allocations: 181.2 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3775, allocations: 4 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3775, allocations: 7.938 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3775, allocations: 0 / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.3776, allocations: 19.98 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.3777, allocations: 7.938 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3778, allocations: 35.89 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3778, allocations: 12 kB / 1.076 GB, free: 5.184 MB / 0.8262 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.0001854/0.378, allocations: 245.1 kB / 1.076 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.3781, allocations: 128.6 kB / 1.076 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.3782, allocations: 146.7 kB / 1.076 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/0.3782, allocations: 176.3 kB / 1.076 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.713e-05/0.3783, allocations: 184.2 kB / 1.076 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-05/0.3784, allocations: 180.3 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.3788, allocations: 489.1 kB / 1.077 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-05/0.3788, allocations: 112.9 kB / 1.077 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.3789, allocations: 105 kB / 1.077 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.975e-05/0.379, allocations: 180.2 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/0.3791, allocations: 188.2 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.118e-05/0.3792, allocations: 180.3 kB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.3793, allocations: 180.4 kB / 1.078 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.3795, allocations: 331.5 kB / 1.078 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.3796, allocations: 229.8 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3798, allocations: 180.2 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3799, allocations: 112.9 kB / 1.079 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.38, allocations: 180.3 kB / 1.079 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.38, allocations: 108.9 kB / 1.079 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000391/0.3804, allocations: 359 kB / 1.079 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3804, allocations: 3.938 kB / 1.079 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002566/0.3807, allocations: 28 kB / 1.079 GB, free: 1.023 MB / 0.8262 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.0001892/0.3809, allocations: 182.5 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.381, allocations: 63.89 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.381, allocations: 0 / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3811, allocations: 0 / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.3817, allocations: 0.5435 MB / 1.08 GB, free: 232 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.3824, allocations: 0.5095 MB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.3828, allocations: 0.783 MB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.321e-05/0.3829, allocations: 45.53 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.3829, allocations: 23.42 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3829, allocations: 0 / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of Templates: time 0.004767/0.3877, allocations: 1.614 MB / 1.083 GB, free: 13.21 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches