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.001471/0.001471, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001596/0.001596, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.582/1.582, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 64.47 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3389, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002633/0.3416, allocations: 0.7491 MB / 0.9519 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000304/0.3419, allocations: 55.81 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.342, allocations: 4 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.3422, allocations: 19.81 kB / 0.952 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.3422, allocations: 11.92 kB / 0.952 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3424, allocations: 23.97 kB / 0.952 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3427, allocations: 127.7 kB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.343, allocations: 156.5 kB / 0.9523 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3431, allocations: 71.78 kB / 0.9523 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3432, allocations: 75.62 kB / 0.9524 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.3433, allocations: 12 kB / 0.9524 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.956e-05/0.3433, allocations: 12 kB / 0.9524 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.3434, allocations: 47.86 kB / 0.9525 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3435, allocations: 87.42 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.3438, allocations: 239.1 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3438, allocations: 0 / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3438, allocations: 0 / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.3438, allocations: 4 kB / 0.9528 GB, free: 6.379 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.0006787/0.3445, allocations: 499 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3445, allocations: 12.03 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.3446, allocations: 24.66 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.345, allocations: 259.8 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.345, allocations: 16.75 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.3451, allocations: 20.38 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.3456, allocations: 340.9 kB / 0.9539 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3456, allocations: 3.938 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.3456, allocations: 11.97 kB / 0.9539 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.3457, allocations: 19.98 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.346, allocations: 259.8 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3474, allocations: 1.096 MB / 0.9553 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3475, allocations: 173.1 kB / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.3475, allocations: 82.25 kB / 0.9555 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3477, allocations: 87.16 kB / 0.9556 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.3477, allocations: 106 kB / 0.9557 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.943e-06/0.3477, allocations: 0 / 0.9557 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.00014/0.3479, allocations: 53.36 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.348, allocations: 130.6 kB / 0.9559 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.3486, allocations: 0.5003 MB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3486, allocations: 29.7 kB / 0.9564 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3488, allocations: 167.8 kB / 0.9565 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.3488, allocations: 0 / 0.9565 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.3489, allocations: 37.61 kB / 0.9566 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3491, allocations: 338.8 kB / 0.9569 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.3492, allocations: 51.95 kB / 0.9569 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3493, allocations: 98.83 kB / 0.957 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3495, allocations: 118.7 kB / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3495, allocations: 0 / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003427/0.3498, allocations: 189.1 kB / 0.9573 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3499, allocations: 11.94 kB / 0.9573 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.3499, allocations: 0 / 0.9573 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3499, allocations: 8.25 kB / 0.9573 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.35, allocations: 19.98 kB / 0.9574 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.3501, allocations: 4 kB / 0.9574 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3502, allocations: 31.67 kB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3502, allocations: 8 kB / 0.9574 GB, free: 1.352 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.0002073/0.3504, allocations: 251 kB / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.3505, allocations: 128.6 kB / 0.9578 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.324e-05/0.3506, allocations: 138.8 kB / 0.9579 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.321e-05/0.3507, allocations: 184.2 kB / 0.9581 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.132e-05/0.3508, allocations: 176.3 kB / 0.9582 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-05/0.3509, allocations: 188.2 kB / 0.9584 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.3513, allocations: 489.1 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.645e-05/0.3513, allocations: 108.9 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.3514, allocations: 105 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-05/0.3515, allocations: 188.2 kB / 0.9593 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/0.3516, allocations: 180.2 kB / 0.9594 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.937e-05/0.3517, allocations: 176.3 kB / 0.9596 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.329e-05/0.3517, allocations: 180.2 kB / 0.9598 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3519, allocations: 335.5 kB / 0.9601 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.3521, allocations: 214 kB / 0.9603 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.3523, allocations: 188.2 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3524, allocations: 109 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.3525, allocations: 180.3 kB / 0.9608 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.3526, allocations: 105 kB / 0.9609 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003909/0.353, allocations: 370.9 kB / 0.9612 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.353, allocations: 0 / 0.9612 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003131/0.3533, allocations: 28 kB / 0.9612 GB, free: 13.2 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.0002637/0.3536, allocations: 178.5 kB / 0.9614 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.3537, allocations: 64.33 kB / 0.9615 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3538, allocations: 4.062 kB / 0.9615 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.3538, allocations: 0 / 0.9615 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.3544, allocations: 489.1 kB / 0.9619 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.3552, allocations: 483.2 kB / 0.9624 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3557, allocations: 0.7826 MB / 0.9632 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.007e-05/0.3558, allocations: 49.53 kB / 0.9632 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.3558, allocations: 19.42 kB / 0.9632 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3558, allocations: 3.938 kB / 0.9632 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of Templates: time 0.004533/0.3604, allocations: 1.721 MB / 0.9649 GB, free: 9.363 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 -s gbode -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