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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008932/0.000893, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001122/0.001122, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.712/2.712, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004199, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8644, allocations: 142.4 MB / 0.9545 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0009636/0.8654, allocations: 470.5 kB / 0.9549 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.8657, allocations: 52.67 kB / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.8658, allocations: 1.406 kB / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.8659, allocations: 17.27 kB / 0.955 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.866, allocations: 15.09 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.8662, allocations: 27.02 kB / 0.955 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.8664, allocations: 139.2 kB / 0.9551 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.8666, allocations: 129.2 kB / 0.9553 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.8667, allocations: 38.61 kB / 0.9553 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.8668, allocations: 42.34 kB / 0.9553 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.8668, allocations: 3.375 kB / 0.9553 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.8668, allocations: 3.281 kB / 0.9554 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.8669, allocations: 38.08 kB / 0.9554 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.8669, allocations: 61.86 kB / 0.9554 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.8671, allocations: 166.8 kB / 0.9556 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8671, allocations: 1.5 kB / 0.9556 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8671, allocations: 0 / 0.9556 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.8672, allocations: 0 / 0.9556 GB, free: 6.902 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.0005665/0.8677, allocations: 461.9 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.8678, allocations: 9.219 kB / 0.9561 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.8679, allocations: 26.89 kB / 0.9561 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.8682, allocations: 252.7 kB / 0.9563 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.8682, allocations: 16.16 kB / 0.9563 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.8683, allocations: 15.28 kB / 0.9564 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.8688, allocations: 342.5 kB / 0.9567 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8688, allocations: 1.031 kB / 0.9567 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.8689, allocations: 10.39 kB / 0.9567 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.8689, allocations: 14.58 kB / 0.9567 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.8693, allocations: 271.6 kB / 0.957 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.8704, allocations: 1.082 MB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/0.8705, allocations: 170.5 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.8705, allocations: 80.14 kB / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.8705, allocations: 83.23 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.8705, allocations: 115.2 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8705, allocations: 0 / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.825e-05/0.8706, allocations: 52.36 kB / 0.9585 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.8707, allocations: 128.1 kB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.8713, allocations: 0.4913 MB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.8713, allocations: 26.73 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.8714, allocations: 176.6 kB / 0.9593 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.8714, allocations: 1.188 kB / 0.9593 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.8714, allocations: 0 / 0.9593 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.8715, allocations: 340.8 kB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.8716, allocations: 50.2 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.8717, allocations: 97.27 kB / 0.9598 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.8718, allocations: 65.45 kB / 0.9598 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8718, allocations: 1.375 kB / 0.9598 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002977/0.8721, allocations: 189.3 kB / 0.96 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8721, allocations: 10.83 kB / 0.96 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8721, allocations: 1.375 kB / 0.96 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.8721, allocations: 2.75 kB / 0.96 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.8723, allocations: 24.42 kB / 0.96 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.8723, allocations: 5.312 kB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.8724, allocations: 34.8 kB / 0.9601 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.8724, allocations: 6.875 kB / 0.9601 GB, free: 3.332 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.8725, allocations: 258 kB / 0.9603 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.8726, allocations: 127.3 kB / 0.9605 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.8727, allocations: 147.3 kB / 0.9606 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.8727, allocations: 185.1 kB / 0.9608 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/0.8727, allocations: 177 kB / 0.9609 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.8728, allocations: 181.3 kB / 0.9611 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.873, allocations: 494.8 kB / 0.9616 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.873, allocations: 106 kB / 0.9617 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.873, allocations: 105.7 kB / 0.9618 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.852e-05/0.8731, allocations: 177.3 kB / 0.962 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.8731, allocations: 182.2 kB / 0.9621 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.76e-05/0.8731, allocations: 189.2 kB / 0.9623 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.953e-05/0.8732, allocations: 177.4 kB / 0.9625 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.8733, allocations: 332.3 kB / 0.9628 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8734, allocations: 228.3 kB / 0.963 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.8735, allocations: 185.2 kB / 0.9632 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.8736, allocations: 108.6 kB / 0.9633 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.8737, allocations: 193.3 kB / 0.9635 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.8738, allocations: 106.2 kB / 0.9636 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004789/0.8743, allocations: 359.2 kB / 0.9639 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8743, allocations: 0.9375 kB / 0.9639 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002856/0.8746, allocations: 23.91 kB / 0.9639 GB, free: 15.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001882/0.8748, allocations: 185.9 kB / 0.9641 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.8749, allocations: 72.5 kB / 0.9642 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8749, allocations: 4 kB / 0.9642 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.8749, allocations: 1.156 kB / 0.9642 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.8756, allocations: 0.5434 MB / 0.9647 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.8763, allocations: 494.1 kB / 0.9652 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.8769, allocations: 0.7778 MB / 0.966 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.877, allocations: 49.98 kB / 0.966 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.8771, allocations: 16.97 kB / 0.966 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.8771, allocations: 0 / 0.966 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.00534/0.8825, allocations: 1.583 MB / 0.9676 GB, free: 12.89 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