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.001424/0.001423, allocations: 108.9 kB / 16.36 MB, free: 5.824 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.00163/0.00163, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.43/1.43, 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.35/2.35, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 68.17 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3704, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002473/0.3729, allocations: 0.754 MB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.3732, allocations: 51.83 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.3733, allocations: 0 / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.3735, allocations: 23.8 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.3736, allocations: 11.92 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.3738, allocations: 23.98 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.374, allocations: 119.7 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.3743, allocations: 160.4 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.3744, allocations: 63.78 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3746, allocations: 75.7 kB / 0.9524 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.3746, allocations: 15.94 kB / 0.9524 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.3746, allocations: 12 kB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.3747, allocations: 55.84 kB / 0.9525 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3748, allocations: 83.42 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.3751, allocations: 239.1 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3751, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3751, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3751, allocations: 0 / 0.9528 GB, free: 6.348 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.000665/0.3758, allocations: 0.4951 MB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3759, allocations: 8.031 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.3759, allocations: 24.66 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.3763, allocations: 263.8 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3763, allocations: 8.75 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3763, allocations: 20.38 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.3768, allocations: 340.9 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3768, allocations: 3.938 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3769, allocations: 12 kB / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.3769, allocations: 19.92 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.3773, allocations: 267.8 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3786, allocations: 1.088 MB / 0.9552 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3787, allocations: 173.1 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3787, allocations: 82.25 kB / 0.9555 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.3788, allocations: 83.28 kB / 0.9556 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.3788, allocations: 106 kB / 0.9557 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.3788, allocations: 3.984 kB / 0.9557 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000113/0.379, allocations: 61.3 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.379, allocations: 126.7 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.3796, allocations: 0.4964 MB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3796, allocations: 25.7 kB / 0.9564 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3797, allocations: 171.8 kB / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.3798, allocations: 0 / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.3798, allocations: 33.61 kB / 0.9566 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.38, allocations: 338.8 kB / 0.9569 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.3801, allocations: 55.95 kB / 0.9569 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.3802, allocations: 102.8 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3803, allocations: 114.7 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3803, allocations: 0 / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003039/0.3806, allocations: 193.2 kB / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3807, allocations: 11.92 kB / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3807, allocations: 4 kB / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3807, allocations: 0 / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3808, allocations: 20 kB / 0.9574 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3808, allocations: 8.141 kB / 0.9574 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.3809, allocations: 31.69 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3809, allocations: 7.984 kB / 0.9574 GB, free: 1.316 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.0001857/0.3811, allocations: 253.2 kB / 0.9576 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/0.3812, allocations: 132.6 kB / 0.9578 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.3813, allocations: 138.8 kB / 0.9579 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-05/0.3814, allocations: 180.3 kB / 0.9581 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-05/0.3815, allocations: 176.3 kB / 0.9582 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.086e-05/0.3815, allocations: 184.2 kB / 0.9584 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.3819, allocations: 493.1 kB / 0.9589 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/0.382, allocations: 108.9 kB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.382, allocations: 109 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.743e-05/0.3821, allocations: 180.2 kB / 0.9593 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.3821, allocations: 180.2 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.737e-05/0.3822, allocations: 184.3 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.421e-05/0.3823, allocations: 180.2 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.3825, allocations: 323.5 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.3827, allocations: 225.9 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.3828, allocations: 180.2 kB / 0.9605 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3829, allocations: 117 kB / 0.9606 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.383, allocations: 176.3 kB / 0.9608 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.383, allocations: 105 kB / 0.9609 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003597/0.3834, allocations: 370.9 kB / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3834, allocations: 0 / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002779/0.3837, allocations: 32 kB / 0.9612 GB, free: 13.15 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.0002252/0.3839, allocations: 174.5 kB / 0.9614 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.3841, allocations: 67.89 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3841, allocations: 0 / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3841, allocations: 3.938 kB / 0.9615 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.3847, allocations: 491.5 kB / 0.9619 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.3854, allocations: 482 kB / 0.9624 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3858, allocations: 0.7825 MB / 0.9632 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.159e-05/0.3859, allocations: 49.52 kB / 0.9632 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.386, allocations: 19.44 kB / 0.9632 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.386, allocations: 4 kB / 0.9632 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.004673/0.3906, allocations: 1.727 MB / 0.9649 GB, free: 9.316 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 cvode -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