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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00148/0.00148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 196 kB / 16.53 MB, free: 6.391 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.546/1.546, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.95 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3728, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002394/0.3753, allocations: 0.7329 MB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.3756, allocations: 51.84 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.3756, allocations: 7.938 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.3758, allocations: 15.86 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.3759, allocations: 15.92 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.3761, allocations: 31.94 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.3763, allocations: 127.7 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.3766, allocations: 160.3 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.3767, allocations: 63.78 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3768, allocations: 79.64 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.3769, allocations: 15.94 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.305e-05/0.3769, allocations: 12 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.377, allocations: 51.84 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3771, allocations: 87.42 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3774, allocations: 215.3 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3774, allocations: 7.938 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3774, allocations: 4 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3774, allocations: 0 / 1.07 GB, free: 8.688 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.0006659/0.3781, allocations: 499.3 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3782, allocations: 12.03 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.3782, allocations: 20.66 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3785, allocations: 260.8 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3786, allocations: 16.75 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.3786, allocations: 16.38 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.3791, allocations: 341.1 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3791, allocations: 3.938 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.3791, allocations: 8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.3792, allocations: 12 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.3796, allocations: 264.3 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3808, allocations: 1.072 MB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.3809, allocations: 173.1 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.3809, allocations: 82.31 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.381, allocations: 83.28 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.381, allocations: 105.8 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.3811, allocations: 0 / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001441/0.3812, allocations: 65.38 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3813, allocations: 126.7 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.3818, allocations: 0.4887 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3819, allocations: 29.7 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.382, allocations: 167.8 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.382, allocations: 4 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.3821, allocations: 29.7 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3822, allocations: 338.8 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.3823, allocations: 51.95 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3824, allocations: 93.95 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3826, allocations: 109.8 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3826, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000308/0.3829, allocations: 181.2 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3829, allocations: 4 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3829, allocations: 3.938 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.383, allocations: 4 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3831, allocations: 19.98 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3831, allocations: 4.156 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3832, allocations: 51.58 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3832, allocations: 8 kB / 1.074 GB, free: 3.711 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.0001699/0.3834, allocations: 242.5 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.3835, allocations: 128.7 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.3836, allocations: 146.6 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.823e-05/0.3837, allocations: 180.3 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.795e-05/0.3838, allocations: 184.2 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.759e-05/0.3838, allocations: 180.3 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3842, allocations: 493.1 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/0.3842, allocations: 108.9 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.3843, allocations: 105 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.23e-05/0.3843, allocations: 188.2 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.3844, allocations: 180.2 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.895e-05/0.3845, allocations: 180.4 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.3e-05/0.3846, allocations: 184.3 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3848, allocations: 327.5 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3849, allocations: 214.1 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.385, allocations: 188.1 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3851, allocations: 105 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3852, allocations: 184.3 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.3853, allocations: 108.9 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003739/0.3857, allocations: 367 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3857, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002711/0.386, allocations: 24 kB / 1.078 GB, free: 15.56 MB / 0.8419 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.000182/0.3861, allocations: 175.1 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3863, allocations: 63.89 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3863, allocations: 0 / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3863, allocations: 448 / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.3869, allocations: 488.8 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.3876, allocations: 479.2 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.388, allocations: 0.771 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.777e-05/0.3881, allocations: 53.5 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.3881, allocations: 23.44 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of SimCode: time 4.5e-07/0.3881, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.004821/0.393, allocations: 1.74 MB / 1.082 GB, free: 11.75 MB / 0.8419 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/jenkins/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