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.001104/0.001104, allocations: 92.7 kB / 16.02 MB, free: 80 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.00148/0.00148, allocations: 177.1 kB / 16.92 MB, free: 6.652 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.312 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.444/2.444, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005014, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7403, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0008839/0.7412, allocations: 481.2 kB / 0.9562 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002125/0.7414, allocations: 55.78 kB / 0.9562 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.7415, allocations: 4.844 kB / 0.9562 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.7416, allocations: 14.05 kB / 0.9563 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.7417, allocations: 19.84 kB / 0.9563 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.7419, allocations: 21.67 kB / 0.9563 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.742, allocations: 117.4 kB / 0.9564 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.7423, allocations: 153.7 kB / 0.9566 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.7423, allocations: 38.77 kB / 0.9566 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.7424, allocations: 46.88 kB / 0.9566 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.7424, allocations: 3.781 kB / 0.9566 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.7425, allocations: 2.219 kB / 0.9566 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.7425, allocations: 36.42 kB / 0.9567 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.7426, allocations: 97.86 kB / 0.9568 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.7428, allocations: 172 kB / 0.9569 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7428, allocations: 0 / 0.9569 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.155e-06/0.7428, allocations: 0 / 0.9569 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.7428, allocations: 0 / 0.9569 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004151/0.7432, allocations: 460.1 kB / 0.9574 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.7432, allocations: 9.562 kB / 0.9574 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.7433, allocations: 24.19 kB / 0.9574 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.7435, allocations: 260.7 kB / 0.9576 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.7436, allocations: 16.5 kB / 0.9577 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.7436, allocations: 16.25 kB / 0.9577 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.7441, allocations: 349.1 kB / 0.958 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7441, allocations: 3.938 kB / 0.958 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.7441, allocations: 9.719 kB / 0.958 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.7442, allocations: 15.66 kB / 0.958 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.7445, allocations: 263.7 kB / 0.9583 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.7455, allocations: 1.085 MB / 0.9594 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.7456, allocations: 174.5 kB / 0.9595 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.7456, allocations: 80.14 kB / 0.9596 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.7456, allocations: 76.66 kB / 0.9597 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.7457, allocations: 110 kB / 0.9598 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7457, allocations: 4 kB / 0.9598 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.594e-05/0.7458, allocations: 52.36 kB / 0.9598 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.7458, allocations: 128.1 kB / 0.9599 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.7463, allocations: 0.4908 MB / 0.9604 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.7463, allocations: 29.64 kB / 0.9605 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.7464, allocations: 176.2 kB / 0.9606 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.7464, allocations: 1.375 kB / 0.9606 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.7464, allocations: 16.47 kB / 0.9606 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.7465, allocations: 344.4 kB / 0.961 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.7466, allocations: 50.02 kB / 0.961 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.7467, allocations: 101.6 kB / 0.9611 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.7468, allocations: 124.4 kB / 0.9612 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7468, allocations: 4.781 kB / 0.9612 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003144/0.7471, allocations: 191.1 kB / 0.9614 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7471, allocations: 9.688 kB / 0.9614 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7472, allocations: 2.031 kB / 0.9614 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7472, allocations: 6.938 kB / 0.9614 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.7473, allocations: 23.27 kB / 0.9615 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7473, allocations: 2.5 kB / 0.9615 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.7474, allocations: 34.61 kB / 0.9615 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.7474, allocations: 10.19 kB / 0.9615 GB, free: 3.188 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.0001372/0.7476, allocations: 257.4 kB / 0.9618 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.7476, allocations: 131.5 kB / 0.9619 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.7477, allocations: 135.6 kB / 0.962 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.7477, allocations: 181.2 kB / 0.9622 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.5e-05/0.7478, allocations: 181.4 kB / 0.9624 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.7478, allocations: 189.1 kB / 0.9625 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.748, allocations: 491.5 kB / 0.963 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.748, allocations: 102.2 kB / 0.9631 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.7481, allocations: 105.7 kB / 0.9632 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/0.7481, allocations: 184.9 kB / 0.9634 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.7481, allocations: 181 kB / 0.9635 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-05/0.7482, allocations: 185.3 kB / 0.9637 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-05/0.7482, allocations: 177.2 kB / 0.9639 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.143e-05/0.7483, allocations: 324.9 kB / 0.9642 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.7484, allocations: 232.3 kB / 0.9644 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.7485, allocations: 190.5 kB / 0.9646 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.7486, allocations: 103.9 kB / 0.9647 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.7487, allocations: 185.5 kB / 0.9649 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.7487, allocations: 106.4 kB / 0.965 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004064/0.7491, allocations: 361.8 kB / 0.9653 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7491, allocations: 0 / 0.9653 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002737/0.7494, allocations: 28.97 kB / 0.9654 GB, free: 15.37 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.000167/0.7496, allocations: 180.9 kB / 0.9655 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.7497, allocations: 69.67 kB / 0.9656 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7498, allocations: 0 / 0.9656 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.7498, allocations: 1.312 kB / 0.9656 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.7504, allocations: 0.5487 MB / 0.9661 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.7511, allocations: 0.5426 MB / 0.9667 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.7514, allocations: 0.776 MB / 0.9674 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.7515, allocations: 22.3 kB / 0.9674 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7515, allocations: 0 / 0.9674 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.004673/0.7562, allocations: 2.599 MB / 0.97 GB, free: 12.2 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/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