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.0008743/0.0008743, allocations: 90.52 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.006654/0.006654, allocations: 171.1 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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.744/2.744, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.000522, allocations: 12 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8576, allocations: 142.4 MB / 0.9551 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.00152/0.8592, allocations: 472.5 kB / 0.9555 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004225/0.8597, allocations: 57.42 kB / 0.9556 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.8598, allocations: 1.406 kB / 0.9556 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.8601, allocations: 12.89 kB / 0.9556 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.8602, allocations: 7.547 kB / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.8604, allocations: 28.59 kB / 0.9556 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.8606, allocations: 118 kB / 0.9557 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.8609, allocations: 153.5 kB / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.861, allocations: 41.53 kB / 0.9559 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.8611, allocations: 39.25 kB / 0.956 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.8611, allocations: 2.312 kB / 0.956 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.8611, allocations: 2.844 kB / 0.956 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.8612, allocations: 40.36 kB / 0.956 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.8613, allocations: 86.39 kB / 0.9561 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.8616, allocations: 211.9 kB / 0.9563 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8616, allocations: 0 / 0.9563 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.416e-06/0.8616, allocations: 5.094 kB / 0.9563 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.8616, allocations: 0 / 0.9563 GB, free: 6.879 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.0006194/0.8622, allocations: 459 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.8623, allocations: 9.125 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.8624, allocations: 23.88 kB / 0.9568 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.8627, allocations: 253.4 kB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.8628, allocations: 16.28 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.8628, allocations: 15.88 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.8635, allocations: 340 kB / 0.9574 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.8635, allocations: 3.938 kB / 0.9574 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.8636, allocations: 13.77 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.8636, allocations: 13.73 kB / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.864, allocations: 261.2 kB / 0.9576 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.8654, allocations: 1.092 MB / 0.9587 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/0.8655, allocations: 166.5 kB / 0.9589 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.8655, allocations: 84.12 kB / 0.9589 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.8655, allocations: 80.66 kB / 0.959 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.8656, allocations: 113.8 kB / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/0.8656, allocations: 7.875 kB / 0.9591 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001171/0.8657, allocations: 52.55 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8657, allocations: 132 kB / 0.9593 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/0.8664, allocations: 0.4885 MB / 0.9598 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.8664, allocations: 25.7 kB / 0.9598 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.8666, allocations: 168.8 kB / 0.96 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.8666, allocations: 1.031 kB / 0.96 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.8666, allocations: 19.7 kB / 0.96 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.8667, allocations: 339.9 kB / 0.9603 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.8668, allocations: 46.62 kB / 0.9604 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.8669, allocations: 90.84 kB / 0.9604 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.8671, allocations: 110.1 kB / 0.9605 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8671, allocations: 1.031 kB / 0.9606 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004125/0.8675, allocations: 182.8 kB / 0.9607 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.8675, allocations: 10 kB / 0.9607 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8676, allocations: 4.969 kB / 0.9607 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8676, allocations: 3.281 kB / 0.9607 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.8677, allocations: 18.61 kB / 0.9608 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8677, allocations: 1.938 kB / 0.9608 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.8678, allocations: 41.17 kB / 0.9608 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.8679, allocations: 7.562 kB / 0.9608 GB, free: 3.234 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.0001742/0.8681, allocations: 256.8 kB / 0.9611 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.278e-05/0.8681, allocations: 127.7 kB / 0.9612 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.8682, allocations: 135.2 kB / 0.9613 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/0.8683, allocations: 185.2 kB / 0.9615 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.498e-05/0.8683, allocations: 177.2 kB / 0.9616 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/0.8683, allocations: 185.2 kB / 0.9618 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.8686, allocations: 490.4 kB / 0.9623 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/0.8687, allocations: 102 kB / 0.9624 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.8687, allocations: 114 kB / 0.9625 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.851e-05/0.8687, allocations: 181.6 kB / 0.9627 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.8688, allocations: 185.5 kB / 0.9628 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.772e-05/0.8688, allocations: 181.2 kB / 0.963 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.365e-05/0.8688, allocations: 177.5 kB / 0.9632 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.8689, allocations: 328 kB / 0.9635 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.8691, allocations: 228.2 kB / 0.9637 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.8691, allocations: 190.1 kB / 0.9639 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.8693, allocations: 113.4 kB / 0.964 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.8694, allocations: 181.3 kB / 0.9642 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.8694, allocations: 105.9 kB / 0.9643 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004879/0.8699, allocations: 361.5 kB / 0.9646 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8699, allocations: 0 / 0.9646 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003021/0.8702, allocations: 32.34 kB / 0.9647 GB, free: 15.41 MB / 0.7325 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.0001941/0.8704, allocations: 181.1 kB / 0.9648 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.8706, allocations: 67.42 kB / 0.9649 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8706, allocations: 0 / 0.9649 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.8706, allocations: 1.219 kB / 0.9649 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.8713, allocations: 0.5452 MB / 0.9654 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.872, allocations: 0.5005 MB / 0.9659 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.8725, allocations: 0.7759 MB / 0.9667 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.8726, allocations: 46.31 kB / 0.9667 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.8727, allocations: 20.33 kB / 0.9667 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.8727, allocations: 0 / 0.9667 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.005584/0.8783, allocations: 1.626 MB / 0.9683 GB, free: 12.77 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