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.001383/0.001383, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001363/0.001363, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.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.219/2.219, allocations: 390.3 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 70.17 kB / 0.8127 GB, free: 33.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3295, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002146/0.3317, allocations: 0.8097 MB / 0.9506 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000245/0.332, allocations: 51.83 kB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.332, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.3322, allocations: 19.88 kB / 0.9507 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.3323, allocations: 7.984 kB / 0.9507 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.3324, allocations: 26.78 kB / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3326, allocations: 119.6 kB / 0.9508 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.3329, allocations: 164.2 kB / 0.951 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.333, allocations: 67.8 kB / 0.951 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.3331, allocations: 71.64 kB / 0.9511 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.3332, allocations: 12 kB / 0.9511 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.95e-05/0.3332, allocations: 12 kB / 0.9511 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.3333, allocations: 55.86 kB / 0.9512 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.3334, allocations: 91.41 kB / 0.9513 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3336, allocations: 175.7 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3336, allocations: 0 / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3336, allocations: 0 / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3336, allocations: 0 / 0.9514 GB, free: 7.559 MB / 0.7325 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.0005572/0.3342, allocations: 0.4953 MB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3342, allocations: 11.97 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.3343, allocations: 24.66 kB / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3345, allocations: 267.8 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3346, allocations: 16.69 kB / 0.9522 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3346, allocations: 16.36 kB / 0.9522 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.3351, allocations: 337.2 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3351, allocations: 3.938 kB / 0.9526 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.3352, allocations: 12 kB / 0.9526 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.3352, allocations: 15.98 kB / 0.9526 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.3355, allocations: 267.8 kB / 0.9528 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3367, allocations: 1.084 MB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.3368, allocations: 169.1 kB / 0.9541 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.3369, allocations: 88.14 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3369, allocations: 75.28 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3369, allocations: 110 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.3369, allocations: 0 / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.3371, allocations: 53.36 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3371, allocations: 126.7 kB / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.3376, allocations: 0.5042 MB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3377, allocations: 25.7 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3378, allocations: 175.8 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.3378, allocations: 0 / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.3379, allocations: 33.61 kB / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.338, allocations: 338.8 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.3381, allocations: 51.95 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3382, allocations: 106.7 kB / 0.9557 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3383, allocations: 114.8 kB / 0.9558 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3383, allocations: 0 / 0.9558 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003157/0.3387, allocations: 189.1 kB / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3387, allocations: 7.938 kB / 0.956 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3387, allocations: 8.25 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3387, allocations: 0 / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3388, allocations: 23.92 kB / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3388, allocations: 4 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.339, allocations: 35.67 kB / 0.956 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.339, allocations: 8 kB / 0.9561 GB, free: 2.516 MB / 0.7325 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.0001523/0.3391, allocations: 249.1 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.3392, allocations: 136.6 kB / 0.9564 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.3393, allocations: 134.8 kB / 0.9565 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/0.3394, allocations: 184.2 kB / 0.9567 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.918e-05/0.3394, allocations: 180.2 kB / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/0.3395, allocations: 176.3 kB / 0.9571 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.3398, allocations: 0.4892 MB / 0.9575 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/0.3399, allocations: 109 kB / 0.9576 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.3399, allocations: 105 kB / 0.9577 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.455e-05/0.34, allocations: 184.1 kB / 0.9579 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.34, allocations: 180.2 kB / 0.9581 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-05/0.3401, allocations: 184.2 kB / 0.9583 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-05/0.3402, allocations: 180.5 kB / 0.9584 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3403, allocations: 331.5 kB / 0.9588 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3405, allocations: 213.8 kB / 0.959 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.3406, allocations: 188.1 kB / 0.9591 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3407, allocations: 105 kB / 0.9592 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.3408, allocations: 188.2 kB / 0.9594 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.3408, allocations: 105 kB / 0.9595 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003593/0.3412, allocations: 363 kB / 0.9599 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3412, allocations: 0 / 0.9599 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002694/0.3414, allocations: 28 kB / 0.9599 GB, free: 14.36 MB / 0.7481 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.0001517/0.3416, allocations: 170.5 kB / 0.9601 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.3418, allocations: 76.08 kB / 0.9601 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3418, allocations: 0 / 0.9601 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-06/0.3418, allocations: 7.875 kB / 0.9601 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.3423, allocations: 481.2 kB / 0.9606 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.343, allocations: 0.5481 MB / 0.9611 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3433, allocations: 0.7748 MB / 0.9619 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.3434, allocations: 19.44 kB / 0.9619 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.3434, allocations: 0 / 0.9619 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of Templates: time 0.004489/0.3479, allocations: 2.622 MB / 0.9645 GB, free: 9.59 MB / 0.7481 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/jenkins1/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