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.001288/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001717/0.001716, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.514/1.514, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.553/2.553, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8946, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002885/0.8975, allocations: 0.8078 MB / 0.9497 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.8978, allocations: 51.08 kB / 0.9498 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.8978, allocations: 1.5 kB / 0.9498 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.898, allocations: 18.47 kB / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.8981, allocations: 11.08 kB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.8983, allocations: 28.41 kB / 0.9498 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.8985, allocations: 115.2 kB / 0.9499 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.8987, allocations: 158.8 kB / 0.9501 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.8988, allocations: 56.55 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.8989, allocations: 69.64 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.8989, allocations: 8.25 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.899, allocations: 8.25 kB / 0.9502 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.899, allocations: 41.73 kB / 0.9503 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.8991, allocations: 82.66 kB / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.8993, allocations: 216.3 kB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.8994, allocations: 4 kB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8994, allocations: 0 / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8994, allocations: 3.938 kB / 0.9506 GB, free: 7.992 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.0005367/0.8999, allocations: 0.4925 MB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.9, allocations: 9.156 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.9, allocations: 24.16 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.9003, allocations: 253.3 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.9003, allocations: 15.52 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.9004, allocations: 24.45 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.9008, allocations: 334.2 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.9009, allocations: 11.88 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.9009, allocations: 10.69 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.9009, allocations: 15.52 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.9013, allocations: 256.2 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.9025, allocations: 1.084 MB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.9026, allocations: 174.5 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.9026, allocations: 80.14 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.9027, allocations: 79.28 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.9027, allocations: 111.3 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9027, allocations: 0 / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.697e-05/0.9028, allocations: 56.2 kB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.9028, allocations: 128 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.9034, allocations: 0.4962 MB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.9034, allocations: 25.7 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.9036, allocations: 172.4 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-06/0.9036, allocations: 1.375 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.9036, allocations: 33.3 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.9037, allocations: 345 kB / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.9038, allocations: 49.67 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.9039, allocations: 83.73 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.904, allocations: 113.5 kB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.904, allocations: 5.406 kB / 0.9549 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003112/0.9044, allocations: 186.1 kB / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9044, allocations: 5.719 kB / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.9044, allocations: 6.438 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9044, allocations: 2.625 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9045, allocations: 19.27 kB / 0.9551 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.9046, allocations: 1.219 kB / 0.9551 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.9047, allocations: 44.28 kB / 0.9551 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.9047, allocations: 10.2 kB / 0.9552 GB, free: 4.309 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.0001329/0.9048, allocations: 244.4 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.9049, allocations: 126 kB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.905, allocations: 143.6 kB / 0.9556 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-05/0.905, allocations: 177.3 kB / 0.9558 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-05/0.905, allocations: 181.2 kB / 0.956 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.814e-05/0.9051, allocations: 186.8 kB / 0.9562 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.9053, allocations: 493.4 kB / 0.9566 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/0.9054, allocations: 106.7 kB / 0.9567 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.9054, allocations: 101 kB / 0.9568 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.873e-05/0.9054, allocations: 182 kB / 0.957 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.9055, allocations: 180.2 kB / 0.9572 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.555e-05/0.9055, allocations: 186 kB / 0.9574 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.564e-05/0.9056, allocations: 184.2 kB / 0.9575 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.9057, allocations: 321.2 kB / 0.9578 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.9058, allocations: 216.3 kB / 0.958 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.9059, allocations: 185.8 kB / 0.9582 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.9059, allocations: 117.5 kB / 0.9583 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.906, allocations: 181.8 kB / 0.9585 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.906, allocations: 108.9 kB / 0.9586 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004154/0.9064, allocations: 361.5 kB / 0.959 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9065, allocations: 1.219 kB / 0.959 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002843/0.9067, allocations: 23 kB / 0.959 GB, free: 0.5039 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.0002058/0.907, allocations: 182 kB / 0.9591 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.9071, allocations: 64.08 kB / 0.9592 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9071, allocations: 0 / 0.9592 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.9072, allocations: 0 / 0.9592 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.9078, allocations: 0.5499 MB / 0.9597 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.9086, allocations: 0.5031 MB / 0.9602 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.909, allocations: 0.7805 MB / 0.961 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.9091, allocations: 54 kB / 0.9611 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.9092, allocations: 21.05 kB / 0.9611 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.9092, allocations: 0 / 0.9611 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.004998/0.9142, allocations: 1.669 MB / 0.9627 GB, free: 13.84 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