Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009976, allocations: 92.16 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.001217/0.001217, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003256, allocations: 11.72 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.328, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.0009847/0.3291, allocations: 476.2 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.3293, allocations: 55.77 kB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.3294, allocations: 4 kB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3295, allocations: 15.86 kB / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.3296, allocations: 7.984 kB / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.3298, allocations: 30.22 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3299, allocations: 115.6 kB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.3302, allocations: 152.5 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.3303, allocations: 31.81 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.3304, allocations: 47.64 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3304, allocations: 4 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.578e-05/0.3305, allocations: 4 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.3305, allocations: 35.86 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.3306, allocations: 89.12 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3308, allocations: 175.7 kB / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3308, allocations: 0 / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3308, allocations: 0 / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3308, allocations: 4 kB / 1.061 GB, free: 3.738 MB / 0.8106 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.0005395/0.3314, allocations: 459.4 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3314, allocations: 11.97 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.3315, allocations: 24.66 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3318, allocations: 259.7 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3318, allocations: 16.75 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.3319, allocations: 16.38 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.3324, allocations: 345.2 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3324, allocations: 3.938 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3325, allocations: 8 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.3325, allocations: 15.94 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.3329, allocations: 259.8 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3341, allocations: 1.08 MB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.3342, allocations: 165.1 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.3343, allocations: 88.06 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3343, allocations: 75.28 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3343, allocations: 113.8 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3343, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001115/0.3345, allocations: 53.53 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.3345, allocations: 130.7 kB / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.3351, allocations: 0.4887 MB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.3351, allocations: 29.7 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3352, allocations: 167.8 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.3352, allocations: 7.984 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.3353, allocations: 13.66 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3354, allocations: 346.8 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.3355, allocations: 51.84 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.69e-05/0.3356, allocations: 89.97 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3358, allocations: 105.9 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3358, allocations: 0 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003267/0.3361, allocations: 193.1 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3361, allocations: 8 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3361, allocations: 3.938 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3362, allocations: 4 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3363, allocations: 19.98 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3363, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3364, allocations: 43.69 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3364, allocations: 4 kB / 1.065 GB, free: 14.81 MB / 0.8262 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.0001699/0.3366, allocations: 257.1 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/0.3367, allocations: 124.7 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.3368, allocations: 138.7 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.657e-05/0.3368, allocations: 176.3 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.748e-05/0.3369, allocations: 180.3 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.03e-05/0.337, allocations: 184.2 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.3373, allocations: 493.1 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-05/0.3374, allocations: 108.9 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.3374, allocations: 101 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/0.3375, allocations: 184.3 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/0.3375, allocations: 184.1 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-05/0.3376, allocations: 180.3 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.172e-05/0.3377, allocations: 184.2 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3379, allocations: 323.8 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.338, allocations: 233.8 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/0.3381, allocations: 184.2 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3382, allocations: 116.9 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.3383, allocations: 176.3 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.3384, allocations: 101 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003688/0.3388, allocations: 367 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3388, allocations: 3.938 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002696/0.339, allocations: 24 kB / 1.069 GB, free: 10.65 MB / 0.8262 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.0001673/0.3392, allocations: 182.5 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3393, allocations: 63.89 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3394, allocations: 4 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3394, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.3399, allocations: 0.5473 MB / 1.07 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.3406, allocations: 0.5298 MB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.341, allocations: 0.7752 MB / 1.071 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.341, allocations: 23.42 kB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.341, allocations: 0 / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.005058/0.3461, allocations: 2.604 MB / 1.074 GB, free: 5.855 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches