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.002085/0.002086, 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.002134/0.002134, allocations: 194.6 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.531/1.531, 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.55/2.55, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001996/1.044, allocations: 0.7451 MB / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/1.045, allocations: 57.52 kB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/1.045, allocations: 1.375 kB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/1.045, allocations: 22.55 kB / 0.9504 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/1.045, allocations: 10.67 kB / 0.9504 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/1.045, allocations: 32.2 kB / 0.9504 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/1.045, allocations: 113.5 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/1.045, allocations: 157.5 kB / 0.9507 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/1.045, allocations: 76.72 kB / 0.9508 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/1.046, allocations: 69.42 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/1.046, allocations: 11.75 kB / 0.9509 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.17e-05/1.046, allocations: 12.06 kB / 0.9509 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/1.046, allocations: 61.06 kB / 0.9509 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/1.046, allocations: 84.61 kB / 0.951 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/1.046, allocations: 215.8 kB / 0.9512 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.046, allocations: 5.312 kB / 0.9512 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/1.046, allocations: 0 / 0.9512 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.046, allocations: 0 / 0.9512 GB, free: 8.102 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.0004538/1.046, allocations: 0.5006 MB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.046, allocations: 8.562 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/1.047, allocations: 24.81 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/1.047, allocations: 257.6 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.047, allocations: 11.94 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/1.047, allocations: 16.91 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/1.047, allocations: 347.1 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.047, allocations: 16.7 kB / 0.9524 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/1.047, allocations: 6 kB / 0.9524 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/1.047, allocations: 15.38 kB / 0.9524 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/1.048, allocations: 264.7 kB / 0.9526 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.049, allocations: 1.084 MB / 0.9537 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/1.049, allocations: 174.3 kB / 0.9539 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/1.049, allocations: 81.33 kB / 0.9539 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/1.049, allocations: 75.28 kB / 0.954 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.049, allocations: 111.4 kB / 0.9541 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.049, allocations: 0 / 0.9541 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.525e-05/1.049, allocations: 60.64 kB / 0.9542 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/1.049, allocations: 130.7 kB / 0.9543 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/1.049, allocations: 0.4988 MB / 0.9548 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/1.049, allocations: 25.7 kB / 0.9548 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/1.05, allocations: 173.1 kB / 0.955 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/1.05, allocations: 0 / 0.955 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/1.05, allocations: 30.27 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/1.05, allocations: 341.1 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/1.05, allocations: 58.61 kB / 0.9554 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/1.05, allocations: 94.14 kB / 0.9555 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.05, allocations: 120.7 kB / 0.9556 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.05, allocations: 0 / 0.9556 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002923/1.05, allocations: 196.1 kB / 0.9558 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.05, allocations: 8.688 kB / 0.9558 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.05, allocations: 1.812 kB / 0.9558 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.05, allocations: 6.125 kB / 0.9558 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.05, allocations: 19.86 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/1.05, allocations: 2.75 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/1.051, allocations: 38.83 kB / 0.9558 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/1.051, allocations: 6.844 kB / 0.9559 GB, free: 4.383 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.0001204/1.051, allocations: 256.9 kB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/1.051, allocations: 127.7 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/1.051, allocations: 131.6 kB / 0.9563 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/1.051, allocations: 181.4 kB / 0.9565 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/1.051, allocations: 185.3 kB / 0.9567 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/1.051, allocations: 185.5 kB / 0.9569 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.051, allocations: 493.5 kB / 0.9573 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.051, allocations: 102.1 kB / 0.9574 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/1.051, allocations: 108.9 kB / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-05/1.051, allocations: 182.7 kB / 0.9577 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/1.051, allocations: 185.3 kB / 0.9579 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.161e-05/1.051, allocations: 185.3 kB / 0.9581 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.982e-05/1.051, allocations: 177.3 kB / 0.9582 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.555e-05/1.051, allocations: 329.8 kB / 0.9586 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/1.051, allocations: 215.4 kB / 0.9588 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/1.052, allocations: 189.7 kB / 0.9589 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/1.052, allocations: 109.5 kB / 0.959 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/1.052, allocations: 180.2 kB / 0.9592 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/1.052, allocations: 102.6 kB / 0.9593 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003142/1.052, allocations: 365.9 kB / 0.9597 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.052, allocations: 0 / 0.9597 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002759/1.052, allocations: 25.03 kB / 0.9597 GB, free: 0.5703 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.0001317/1.052, allocations: 177.3 kB / 0.9599 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001504/1.053, allocations: 73.52 kB / 0.9599 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.053, allocations: 0 / 0.9599 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/1.053, allocations: 1.375 kB / 0.9599 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/1.053, allocations: 494.8 kB / 0.9604 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/1.054, allocations: 467.9 kB / 0.9608 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/1.054, allocations: 0.7841 MB / 0.9616 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000109/1.054, allocations: 50.95 kB / 0.9617 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/1.054, allocations: 17.38 kB / 0.9617 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/1.054, allocations: 0 / 0.9617 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.005388/1.06, allocations: 1.735 MB / 0.9634 GB, free: 13.99 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