Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00282/0.00282, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.503/1.503, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.542/2.542, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.91 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8662/0.8677, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002661/0.8704, allocations: 0.8087 MB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000294/0.8708, allocations: 49.48 kB / 0.95 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.8708, allocations: 3.938 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.871, allocations: 14.3 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.8711, allocations: 16.84 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.8713, allocations: 24.11 kB / 0.95 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.8716, allocations: 120.8 kB / 0.9501 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.872, allocations: 164 kB / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8721, allocations: 66.11 kB / 0.9503 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.8722, allocations: 72.45 kB / 0.9504 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.8723, allocations: 12.38 kB / 0.9504 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-05/0.8723, allocations: 11 kB / 0.9504 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.8724, allocations: 57.78 kB / 0.9505 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.8725, allocations: 84.05 kB / 0.9506 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.8728, allocations: 229.1 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8728, allocations: 0 / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8728, allocations: 4 kB / 0.9508 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8728, allocations: 0 / 0.9508 GB, free: 7.961 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006242/0.8735, allocations: 0.4897 MB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.8735, allocations: 9.531 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.8736, allocations: 24.44 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.8739, allocations: 261.7 kB / 0.9516 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.874, allocations: 16.27 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.8741, allocations: 23.39 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.8748, allocations: 344.4 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.8748, allocations: 5.188 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.8748, allocations: 9.594 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.8749, allocations: 15.52 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.8754, allocations: 263.1 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.877, allocations: 1.086 MB / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.8771, allocations: 169.1 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.8771, allocations: 81.42 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.8772, allocations: 75.28 kB / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.8772, allocations: 115.6 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.8772, allocations: 3.938 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001256/0.8773, allocations: 52.45 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.8774, allocations: 126.7 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.8781, allocations: 0.4986 MB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.8781, allocations: 25.7 kB / 0.9544 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.8783, allocations: 172.8 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.8783, allocations: 1.438 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.8784, allocations: 38.3 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.8785, allocations: 339.6 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.8786, allocations: 51.89 kB / 0.9549 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.8787, allocations: 101.8 kB / 0.955 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.8789, allocations: 116.3 kB / 0.9552 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8789, allocations: 4 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003908/0.8793, allocations: 193.1 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8793, allocations: 7.719 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8793, allocations: 1.812 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.8794, allocations: 2.312 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.8795, allocations: 19.8 kB / 0.9554 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.8795, allocations: 6.938 kB / 0.9554 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.8797, allocations: 42.77 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.8797, allocations: 6.406 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001688/0.8799, allocations: 250.6 kB / 0.9557 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.88, allocations: 131.3 kB / 0.9558 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.8801, allocations: 131.5 kB / 0.9559 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.8801, allocations: 184.2 kB / 0.9561 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.741e-05/0.8802, allocations: 186.5 kB / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/0.8802, allocations: 181.7 kB / 0.9564 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.8805, allocations: 493.2 kB / 0.9569 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.8805, allocations: 102.4 kB / 0.957 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.8806, allocations: 102.5 kB / 0.9571 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.019e-05/0.8806, allocations: 192.1 kB / 0.9573 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.8806, allocations: 182.1 kB / 0.9575 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.9e-05/0.8807, allocations: 181.3 kB / 0.9576 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.67e-05/0.8807, allocations: 176.3 kB / 0.9578 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.8808, allocations: 329.1 kB / 0.9581 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.8809, allocations: 220.7 kB / 0.9583 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.881, allocations: 193.5 kB / 0.9585 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.8812, allocations: 104.5 kB / 0.9586 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.8812, allocations: 177.7 kB / 0.9588 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.8812, allocations: 110.3 kB / 0.9589 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005122/0.8817, allocations: 366.3 kB / 0.9592 GB, free: 444 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.8818, allocations: 4 kB / 0.9592 GB, free: 440 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004265/0.8822, allocations: 29.31 kB / 0.9593 GB, free: 436 kB / 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.0001614/0.8824, allocations: 173.8 kB / 0.9594 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.8826, allocations: 63.7 kB / 0.9595 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8826, allocations: 1.406 kB / 0.9595 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.8826, allocations: 0.5 kB / 0.9595 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.8834, allocations: 493.3 kB / 0.96 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009051/0.8843, allocations: 0.5079 MB / 0.9605 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.8848, allocations: 0.7843 MB / 0.9612 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.8849, allocations: 50.64 kB / 0.9613 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.885, allocations: 17.06 kB / 0.9613 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.885, allocations: 0 / 0.9613 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.0063/0.8913, allocations: 1.733 MB / 0.963 GB, free: 13.8 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches