Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 104.1 kB / 15.99 MB, free: 6.348 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.001563/0.001563, allocations: 194.9 kB / 16.91 MB, free: 6.188 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.2 kB / 0.9084 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.27, allocations: 159.1 MB / 1.064 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002159/0.2722, allocations: 0.8001 MB / 1.065 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.2725, allocations: 59.81 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.2725, allocations: 4 kB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.2727, allocations: 11.88 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.2728, allocations: 11.92 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.2729, allocations: 34.06 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.2731, allocations: 123.7 kB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.2734, allocations: 152.5 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.2735, allocations: 63.78 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.2736, allocations: 83.62 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.2736, allocations: 12 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.834e-05/0.2736, allocations: 19.94 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.2737, allocations: 47.86 kB / 1.065 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2738, allocations: 87.42 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.274, allocations: 179.7 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.274, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2741, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.2741, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8419 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.0005588/0.2746, allocations: 0.4954 MB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2747, allocations: 12.61 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.2747, allocations: 32.56 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.275, allocations: 251.9 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.275, allocations: 16.73 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.275, allocations: 16.38 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.2755, allocations: 337.2 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2756, allocations: 7.875 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.2756, allocations: 11.98 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.2756, allocations: 15.98 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.276, allocations: 262.8 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2771, allocations: 1.088 MB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.804e-05/0.2772, allocations: 173.1 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.2773, allocations: 80.14 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2773, allocations: 75.28 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.09e-05/0.2774, allocations: 122 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.2774, allocations: 3.938 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001048/0.2775, allocations: 53.27 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.2776, allocations: 130.7 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.2781, allocations: 0.4964 MB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2781, allocations: 25.7 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2782, allocations: 171.8 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-06/0.2782, allocations: 4 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.2783, allocations: 33.61 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2784, allocations: 338.8 kB / 1.069 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.2785, allocations: 47.97 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.2786, allocations: 98.83 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2788, allocations: 122.7 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2788, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000303/0.2791, allocations: 185.4 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.2791, allocations: 11.97 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2791, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2791, allocations: 3.938 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2793, allocations: 19.98 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2793, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2794, allocations: 39.61 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.2794, allocations: 8 kB / 1.07 GB, free: 8.621 MB / 0.8419 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.0001572/0.2796, allocations: 249 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.2797, allocations: 136.5 kB / 1.07 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.2797, allocations: 130.8 kB / 1.07 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-05/0.2798, allocations: 184.2 kB / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.451e-05/0.2799, allocations: 184.3 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.444e-05/0.2799, allocations: 180.2 kB / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.2802, allocations: 493.1 kB / 1.071 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/0.2803, allocations: 105 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.2803, allocations: 104.9 kB / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.315e-05/0.2804, allocations: 184.2 kB / 1.072 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.2805, allocations: 188.2 kB / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-05/0.2805, allocations: 176.3 kB / 1.072 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.284e-05/0.2806, allocations: 184.3 kB / 1.072 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.2807, allocations: 327.7 kB / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2809, allocations: 213.7 kB / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.281, allocations: 192.1 kB / 1.073 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2811, allocations: 109 kB / 1.073 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.2812, allocations: 184.2 kB / 1.073 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.2812, allocations: 101 kB / 1.073 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003562/0.2816, allocations: 367 kB / 1.074 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2816, allocations: 0 / 1.074 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002686/0.2818, allocations: 24 kB / 1.074 GB, free: 4.469 MB / 0.8419 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.0001485/0.282, allocations: 174.5 kB / 1.074 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.2822, allocations: 75.83 kB / 1.074 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2822, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2822, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.2827, allocations: 485.1 kB / 1.075 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.2834, allocations: 0.5405 MB / 1.075 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.2837, allocations: 0.7788 MB / 1.076 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.2838, allocations: 19.44 kB / 1.076 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.2838, allocations: 4 kB / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.4195/0.7033, allocations: 2.61 MB / 1.078 GB, free: 22.71 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches