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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.06/3.06, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334/1.336, allocations: 173.6 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002029/1.338, allocations: 0.759 MB / 1.306 GB, free: 32.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002565/1.338, allocations: 53.52 kB / 1.306 GB, free: 32.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/1.338, allocations: 2.469 kB / 1.306 GB, free: 32.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/1.339, allocations: 25.11 kB / 1.306 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/1.339, allocations: 10.09 kB / 1.306 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/1.339, allocations: 32.05 kB / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/1.339, allocations: 121.2 kB / 1.306 GB, free: 32.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/1.339, allocations: 83.3 kB / 1.307 GB, free: 32.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/1.339, allocations: 70.83 kB / 1.307 GB, free: 32.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/1.339, allocations: 75.98 kB / 1.307 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/1.339, allocations: 13.69 kB / 1.307 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.604e-05/1.339, allocations: 10.62 kB / 1.307 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/1.339, allocations: 48.8 kB / 1.307 GB, free: 32.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/1.34, allocations: 88.03 kB / 1.307 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/1.34, allocations: 239.9 kB / 1.307 GB, free: 32.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.34, allocations: 3.422 kB / 1.307 GB, free: 32.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.34, allocations: 0 / 1.307 GB, free: 32.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.34, allocations: 0 / 1.307 GB, free: 32.58 MB / 1.061 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.0005403/1.34, allocations: 0.5008 MB / 1.308 GB, free: 32.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.34, allocations: 8.406 kB / 1.308 GB, free: 32.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/1.34, allocations: 23.55 kB / 1.308 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/1.341, allocations: 253.7 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.341, allocations: 17.45 kB / 1.308 GB, free: 31.87 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/1.341, allocations: 23.42 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/1.341, allocations: 332.6 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.341, allocations: 7.875 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/1.341, allocations: 11.06 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/1.341, allocations: 8.094 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/1.342, allocations: 263.3 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/1.343, allocations: 1.087 MB / 1.31 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/1.343, allocations: 173.1 kB / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/1.343, allocations: 80.14 kB / 1.31 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/1.343, allocations: 82.16 kB / 1.31 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/1.343, allocations: 113.1 kB / 1.31 GB, free: 30.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.343, allocations: 0 / 1.31 GB, free: 30.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.672e-05/1.343, allocations: 53.69 kB / 1.31 GB, free: 30.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/1.343, allocations: 130.6 kB / 1.31 GB, free: 30.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/1.343, allocations: 0.4947 MB / 1.311 GB, free: 30.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/1.343, allocations: 25.7 kB / 1.311 GB, free: 30.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/1.343, allocations: 175.2 kB / 1.311 GB, free: 29.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-06/1.343, allocations: 2.719 kB / 1.311 GB, free: 29.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/1.344, allocations: 29.06 kB / 1.311 GB, free: 29.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/1.344, allocations: 342 kB / 1.311 GB, free: 29.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/1.344, allocations: 44.64 kB / 1.311 GB, free: 29.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/1.344, allocations: 91.78 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/1.344, allocations: 116.1 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.344, allocations: 4 kB / 1.311 GB, free: 29.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000289/1.344, allocations: 184 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.344, allocations: 8 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.344, allocations: 11.41 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/1.344, allocations: 2.688 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.344, allocations: 19.23 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.344, allocations: 6.844 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/1.344, allocations: 36.84 kB / 1.312 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/1.344, allocations: 9.391 kB / 1.312 GB, free: 29.29 MB / 1.061 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.0001395/1.345, allocations: 244.9 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/1.345, allocations: 134.8 kB / 1.312 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/1.345, allocations: 138.4 kB / 1.312 GB, free: 28.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-05/1.345, allocations: 176.3 kB / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/1.345, allocations: 187.5 kB / 1.313 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.385e-05/1.345, allocations: 179.6 kB / 1.313 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/1.345, allocations: 491.8 kB / 1.313 GB, free: 27.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/1.345, allocations: 104.9 kB / 1.313 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/1.345, allocations: 103.9 kB / 1.313 GB, free: 27.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.859e-05/1.345, allocations: 180.2 kB / 1.314 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/1.345, allocations: 187.4 kB / 1.314 GB, free: 27.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.922e-05/1.345, allocations: 182.8 kB / 1.314 GB, free: 27.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-05/1.345, allocations: 185.2 kB / 1.314 GB, free: 26.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/1.345, allocations: 323.7 kB / 1.314 GB, free: 26.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/1.345, allocations: 221.5 kB / 1.315 GB, free: 26.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/1.346, allocations: 180.2 kB / 1.315 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/1.346, allocations: 110.7 kB / 1.315 GB, free: 26.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/1.346, allocations: 183.3 kB / 1.315 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/1.346, allocations: 108.1 kB / 1.315 GB, free: 25.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003196/1.346, allocations: 359.5 kB / 1.315 GB, free: 25.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.346, allocations: 4 kB / 1.315 GB, free: 25.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002696/1.346, allocations: 25.84 kB / 1.315 GB, free: 25.59 MB / 1.061 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.0001746/1.346, allocations: 175.4 kB / 1.316 GB, free: 25.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001625/1.347, allocations: 61.23 kB / 1.316 GB, free: 25.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.347, allocations: 0 / 1.316 GB, free: 25.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/1.347, allocations: 3.938 kB / 1.316 GB, free: 25.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/1.347, allocations: 490 kB / 1.316 GB, free: 24.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/1.348, allocations: 0.4905 MB / 1.317 GB, free: 24.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/1.348, allocations: 0.7738 MB / 1.317 GB, free: 23.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.856e-05/1.348, allocations: 49.47 kB / 1.317 GB, free: 23.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/1.348, allocations: 24 kB / 1.317 GB, free: 23.93 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/1.348, allocations: 0 / 1.317 GB, free: 23.93 MB / 1.061 GB Notification: Performance of Templates: time 0.00478/1.353, allocations: 1.782 MB / 1.319 GB, free: 23.79 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.125642346218228]