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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 152 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.001974/0.001974, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.56/1.56, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.69/2.69, allocations: 390.2 MB / 0.6646 GB, free: 392 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.89 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 140.3 MB / 0.9496 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002429/1.025, allocations: 0.7449 MB / 0.9503 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/1.026, allocations: 52.39 kB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/1.026, allocations: 9.344 kB / 0.9504 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/1.026, allocations: 18.55 kB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/1.026, allocations: 10.8 kB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/1.026, allocations: 27.95 kB / 0.9504 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/1.027, allocations: 114.2 kB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/1.027, allocations: 161.2 kB / 0.9507 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/1.027, allocations: 72.83 kB / 0.9508 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/1.027, allocations: 73.06 kB / 0.9508 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/1.027, allocations: 10.75 kB / 0.9508 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/1.027, allocations: 16.66 kB / 0.9509 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.505e-05/1.027, allocations: 56.91 kB / 0.9509 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/1.028, allocations: 83.7 kB / 0.951 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/1.028, allocations: 220.4 kB / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.028, allocations: 0 / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/1.028, allocations: 1 kB / 0.9512 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.028, allocations: 0 / 0.9512 GB, free: 8.152 MB / 0.7169 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.0005935/1.028, allocations: 0.4918 MB / 0.9517 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.029, allocations: 9.656 kB / 0.9517 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/1.029, allocations: 27.19 kB / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/1.029, allocations: 254 kB / 0.952 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/1.029, allocations: 15.5 kB / 0.952 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/1.029, allocations: 16.91 kB / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/1.03, allocations: 341.4 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.03, allocations: 4.969 kB / 0.9523 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/1.03, allocations: 5.188 kB / 0.9523 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/1.03, allocations: 22.98 kB / 0.9524 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/1.03, allocations: 262.1 kB / 0.9526 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/1.031, allocations: 1.083 MB / 0.9537 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/1.031, allocations: 170.3 kB / 0.9538 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/1.031, allocations: 84.14 kB / 0.9539 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/1.031, allocations: 75.28 kB / 0.954 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.031, allocations: 111.1 kB / 0.9541 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/1.031, allocations: 0 / 0.9541 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.781e-05/1.031, allocations: 60.52 kB / 0.9541 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/1.031, allocations: 134.7 kB / 0.9543 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/1.032, allocations: 0.4969 MB / 0.9548 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/1.032, allocations: 26.86 kB / 0.9548 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/1.032, allocations: 168.2 kB / 0.9549 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/1.032, allocations: 1.156 kB / 0.9549 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/1.032, allocations: 32.7 kB / 0.955 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/1.032, allocations: 336.8 kB / 0.9553 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/1.032, allocations: 50.7 kB / 0.9553 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/1.032, allocations: 95.19 kB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/1.032, allocations: 110 kB / 0.9555 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.032, allocations: 0 / 0.9555 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002806/1.033, allocations: 179.3 kB / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.033, allocations: 6.25 kB / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.033, allocations: 5.438 kB / 0.9557 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.033, allocations: 2.719 kB / 0.9557 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.033, allocations: 26.95 kB / 0.9558 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.033, allocations: 7.172 kB / 0.9558 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/1.033, allocations: 36.14 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/1.033, allocations: 7.281 kB / 0.9558 GB, free: 4.473 MB / 0.7169 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.0001274/1.033, allocations: 244.4 kB / 0.956 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/1.033, allocations: 127.8 kB / 0.9562 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/1.033, allocations: 139.2 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/1.033, allocations: 185.8 kB / 0.9565 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.767e-05/1.033, allocations: 182 kB / 0.9566 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/1.033, allocations: 176.3 kB / 0.9568 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/1.033, allocations: 494.6 kB / 0.9573 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.034, allocations: 109 kB / 0.9574 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/1.034, allocations: 106.8 kB / 0.9575 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/1.034, allocations: 181.7 kB / 0.9577 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/1.034, allocations: 186 kB / 0.9578 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.889e-05/1.034, allocations: 180.2 kB / 0.958 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-05/1.034, allocations: 178.1 kB / 0.9582 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.45e-05/1.034, allocations: 336.9 kB / 0.9585 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/1.034, allocations: 215.8 kB / 0.9587 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/1.034, allocations: 189.3 kB / 0.9589 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/1.034, allocations: 104.8 kB / 0.959 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/1.034, allocations: 177.8 kB / 0.9592 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/1.034, allocations: 111.5 kB / 0.9593 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003946/1.034, allocations: 364 kB / 0.9596 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.034, allocations: 0 / 0.9596 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002725/1.035, allocations: 28.75 kB / 0.9596 GB, free: 0.6602 MB / 0.7169 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.0001903/1.035, allocations: 173.5 kB / 0.9598 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001812/1.035, allocations: 63.48 kB / 0.9599 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.035, allocations: 8.062 kB / 0.9599 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/1.035, allocations: 1 kB / 0.9599 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/1.036, allocations: 482.4 kB / 0.9603 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/1.037, allocations: 475 kB / 0.9608 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/1.037, allocations: 0.7758 MB / 0.9615 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001162/1.037, allocations: 50.11 kB / 0.9616 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/1.037, allocations: 16.97 kB / 0.9616 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/1.037, allocations: 0 / 0.9616 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.005043/1.043, allocations: 1.743 MB / 0.9633 GB, free: 14.09 MB / 0.7325 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