Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 103 kB / 16.36 MB, free: 6.336 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.001554/0.001555, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.17 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.339/2.339, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.47 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002169/0.3265, allocations: 0.7447 MB / 0.9519 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.3267, allocations: 59.83 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.3268, allocations: 3.938 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.3269, allocations: 15.86 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.327, allocations: 15.92 kB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.3272, allocations: 27.72 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3274, allocations: 119.7 kB / 0.9521 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.3276, allocations: 160.4 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.3277, allocations: 71.78 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.3278, allocations: 67.7 kB / 0.9524 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.3278, allocations: 15.94 kB / 0.9524 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.3279, allocations: 12 kB / 0.9524 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.328, allocations: 51.84 kB / 0.9525 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.3281, allocations: 87.41 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3283, allocations: 235.2 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3283, allocations: 0 / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3283, allocations: 0 / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.3283, allocations: 0 / 0.9528 GB, free: 6.375 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005444/0.3289, allocations: 499.9 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3289, allocations: 8.031 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.329, allocations: 24.66 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3293, allocations: 267.7 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3293, allocations: 12.75 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.3294, allocations: 20.31 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.3298, allocations: 340.9 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3299, allocations: 3.938 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.3299, allocations: 15.92 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.3299, allocations: 15.98 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.3303, allocations: 259.8 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.3315, allocations: 1.088 MB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.255e-05/0.3316, allocations: 169.1 kB / 0.9554 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.3317, allocations: 82.25 kB / 0.9555 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.3317, allocations: 75.28 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3318, allocations: 113.8 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.3318, allocations: 0 / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.678e-05/0.3319, allocations: 53.55 kB / 0.9557 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.332, allocations: 126.7 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.3325, allocations: 0.4965 MB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3325, allocations: 25.7 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3326, allocations: 163.8 kB / 0.9565 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.3326, allocations: 4 kB / 0.9565 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.3327, allocations: 37.61 kB / 0.9565 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3329, allocations: 338.8 kB / 0.9568 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.3329, allocations: 47.95 kB / 0.9569 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.333, allocations: 93.91 kB / 0.957 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.3332, allocations: 109.9 kB / 0.9571 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3332, allocations: 0 / 0.9571 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002784/0.3335, allocations: 181.2 kB / 0.9573 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3335, allocations: 8 kB / 0.9573 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3335, allocations: 3.938 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3335, allocations: 4 kB / 0.9573 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3336, allocations: 23.92 kB / 0.9573 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3336, allocations: 0 / 0.9573 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.304e-05/0.3337, allocations: 43.61 kB / 0.9573 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3338, allocations: 8.219 kB / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001726/0.3339, allocations: 245.1 kB / 0.9576 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.334, allocations: 128.6 kB / 0.9577 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.3341, allocations: 138.8 kB / 0.9578 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.232e-05/0.3342, allocations: 184.2 kB / 0.958 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.372e-05/0.3343, allocations: 180.3 kB / 0.9582 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-05/0.3343, allocations: 184.3 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.3347, allocations: 493 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/0.3347, allocations: 101 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.3347, allocations: 112.9 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.575e-05/0.3348, allocations: 176.3 kB / 0.9592 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/0.3349, allocations: 188.2 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-05/0.3349, allocations: 180.2 kB / 0.9596 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.176e-05/0.335, allocations: 180.3 kB / 0.9597 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3352, allocations: 327.4 kB / 0.96 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3353, allocations: 222 kB / 0.9602 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.3354, allocations: 184.2 kB / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3355, allocations: 117 kB / 0.9605 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.3356, allocations: 180.2 kB / 0.9607 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.3357, allocations: 101 kB / 0.9608 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003417/0.336, allocations: 367 kB / 0.9612 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.336, allocations: 0 / 0.9612 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002564/0.3363, allocations: 28 kB / 0.9612 GB, free: 13.25 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.0001772/0.3365, allocations: 178.5 kB / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.3366, allocations: 63.89 kB / 0.9614 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3366, allocations: 0 / 0.9614 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3366, allocations: 3.938 kB / 0.9614 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.3372, allocations: 491.2 kB / 0.9619 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.3378, allocations: 471.3 kB / 0.9623 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3382, allocations: 0.7748 MB / 0.9631 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.948e-05/0.3383, allocations: 53.52 kB / 0.9631 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.3383, allocations: 19.44 kB / 0.9632 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.3383, allocations: 0 / 0.9632 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of Templates: time 0.004292/0.3426, allocations: 1.725 MB / 0.9648 GB, free: 9.43 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches