Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 87.69 kB / 20.24 MB, free: 4.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.994/2.994, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.132e-05, allocations: 4.984 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002195/0.002226, allocations: 0.7393 MB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.002522, allocations: 56.98 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.002581, allocations: 7.938 kB / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.002745, allocations: 15.86 kB / 0.8117 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.002816, allocations: 13.14 kB / 0.8117 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.003015, allocations: 41 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.003244, allocations: 116.5 kB / 0.8118 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.003485, allocations: 88.89 kB / 0.8119 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.003639, allocations: 97.02 kB / 0.812 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.00377, allocations: 67.88 kB / 0.8121 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.003817, allocations: 8 kB / 0.8121 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-05/0.003855, allocations: 13.44 kB / 0.8121 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.003955, allocations: 59.77 kB / 0.8122 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.004042, allocations: 47.84 kB / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.004363, allocations: 232.7 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.004367, allocations: 0 / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004368, allocations: 0 / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.00438, allocations: 0 / 0.8124 GB, free: 484 kB / 0.7605 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.001093/0.005473, allocations: 0.5349 MB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.005514, allocations: 9.906 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.005618, allocations: 48.64 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.005991, allocations: 180.2 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.006018, allocations: 16.75 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.006053, allocations: 20.36 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.006587, allocations: 303.5 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.0066, allocations: 4.188 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.006621, allocations: 4.375 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.006672, allocations: 17.47 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.007019, allocations: 207.8 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.008675, allocations: 1.16 MB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.00885, allocations: 265.4 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.008925, allocations: 127.5 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.00899, allocations: 123.8 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.023e-05/0.00908, allocations: 156.5 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.009082, allocations: 1.969 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.009182, allocations: 33.66 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.009287, allocations: 174.6 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.009677, allocations: 335.6 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.009695, allocations: 25.7 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.009887, allocations: 243.2 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.00989, allocations: 0.7188 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.009958, allocations: 35.36 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002799/0.01024, allocations: 0.5054 MB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.01031, allocations: 35.97 kB / 0.8168 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01043, allocations: 105.7 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.01061, allocations: 116.2 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01061, allocations: 0 / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003183/0.01093, allocations: 159.4 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01095, allocations: 8.812 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01095, allocations: 0 / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.01097, allocations: 4 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01108, allocations: 20.92 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01109, allocations: 0 / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.01117, allocations: 29.16 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01119, allocations: 8 kB / 0.8173 GB, free: 11.24 MB / 0.7761 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.0002272/0.01142, allocations: 315.7 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.01155, allocations: 157.8 kB / 0.8177 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.01165, allocations: 165.3 kB / 0.8179 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001434/0.0118, allocations: 268.1 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001446/0.01194, allocations: 270.4 kB / 0.8184 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001542/0.0121, allocations: 272 kB / 0.8187 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.0126, allocations: 0.5975 MB / 0.8192 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.538e-05/0.01269, allocations: 156.9 kB / 0.8194 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.01277, allocations: 144.9 kB / 0.8195 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.01291, allocations: 264.1 kB / 0.8198 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004142/0.01333, allocations: 279.5 kB / 0.82 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001413/0.01347, allocations: 268.1 kB / 0.8203 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001458/0.01361, allocations: 268.2 kB / 0.8206 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.0139, allocations: 455.9 kB / 0.821 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.014, allocations: 164.7 kB / 0.8211 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.01417, allocations: 264.1 kB / 0.8214 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.01431, allocations: 152.8 kB / 0.8215 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.01447, allocations: 268.1 kB / 0.8218 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.01456, allocations: 152.9 kB / 0.8219 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002397/0.0148, allocations: 235.5 kB / 0.8222 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0148, allocations: 0 / 0.8222 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002936/0.01509, allocations: 40.27 kB / 0.8222 GB, free: 5.992 MB / 0.7761 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.0002188/0.01531, allocations: 215.6 kB / 0.8224 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.01549, allocations: 68.91 kB / 0.8225 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0155, allocations: 0 / 0.8225 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.0155, allocations: 1.094 kB / 0.8225 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.01624, allocations: 0.7295 MB / 0.8232 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.01694, allocations: 459.9 kB / 0.8236 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.01712, allocations: 156.5 kB / 0.8238 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.817e-05/0.01717, allocations: 20.47 kB / 0.8238 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.01722, allocations: 16.5 kB / 0.8238 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.01722, allocations: 0 / 0.8238 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of Templates: time 0.004206/0.02143, allocations: 0.9838 MB / 0.8248 GB, free: 3.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.02523631195072]