Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00197/0.00197, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002184/0.002184, allocations: 210.7 kB / 22.24 MB, free: 4.855 MB / 14.72 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 8.082 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.955/2.955, allocations: 475.9 MB / 0.7699 GB, free: 4.824 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.19 kB / 1.117 GB, free: 41.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4279, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002395/0.4303, allocations: 0.7353 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003163/0.4306, allocations: 51.83 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.4306, allocations: 3.938 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.4308, allocations: 19.86 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.4309, allocations: 11.92 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.4311, allocations: 34.92 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.4313, allocations: 115.7 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.4315, allocations: 94.83 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.4316, allocations: 67.73 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.4317, allocations: 79.7 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.4318, allocations: 12 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.98e-05/0.4318, allocations: 15.94 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.721e-05/0.4319, allocations: 55.83 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/0.432, allocations: 67.48 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.4323, allocations: 247 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4323, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4323, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4323, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 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.0006575/0.4329, allocations: 423.4 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.433, allocations: 8.031 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.4331, allocations: 32.73 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.4334, allocations: 203.3 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4334, allocations: 12.75 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.4335, allocations: 16.38 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.434, allocations: 341.1 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.434, allocations: 3.938 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.434, allocations: 4 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.4341, allocations: 23.97 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.4344, allocations: 263.8 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.4357, allocations: 0.9177 MB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4358, allocations: 169.1 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.4358, allocations: 80.14 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.4359, allocations: 75.28 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.549e-05/0.4359, allocations: 109.8 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4359, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.62e-05/0.436, allocations: 45.7 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.4361, allocations: 126.7 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.4364, allocations: 269.2 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4365, allocations: 25.7 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.4366, allocations: 183.9 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-06/0.4366, allocations: 0 / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.4367, allocations: 33.7 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4368, allocations: 326.8 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.4369, allocations: 43.97 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.437, allocations: 89.97 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4372, allocations: 109.8 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4372, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003095/0.4375, allocations: 181.5 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4375, allocations: 6.5 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4375, allocations: 7.938 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.4375, allocations: 3.938 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4376, allocations: 23.92 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4377, allocations: 4 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.4377, allocations: 16 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.4377, allocations: 11.98 kB / 1.289 GB, free: 5.984 MB / 0.9825 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.0002241/0.438, allocations: 249 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/0.4381, allocations: 116.8 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.4381, allocations: 121.6 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.485e-05/0.4382, allocations: 184.2 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-05/0.4383, allocations: 184.2 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-05/0.4384, allocations: 178 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.4388, allocations: 424.8 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.577e-05/0.4388, allocations: 109 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.4389, allocations: 101 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.439, allocations: 188.2 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.4391, allocations: 180.3 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-05/0.4392, allocations: 184.4 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.4393, allocations: 184.2 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.4395, allocations: 323.7 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.4396, allocations: 108.9 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.4397, allocations: 180.2 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.4398, allocations: 109 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4399, allocations: 184.5 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.44, allocations: 108.9 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001983/0.4402, allocations: 191 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4402, allocations: 4 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000296/0.4405, allocations: 43.78 kB / 1.292 GB, free: 2.223 MB / 0.9825 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.0001939/0.4407, allocations: 174.5 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.4408, allocations: 63.89 kB / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4408, allocations: 0 / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.4408, allocations: 0 / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.4415, allocations: 479.6 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.4422, allocations: 438.8 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.4424, allocations: 175.9 kB / 1.293 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.93e-05/0.4425, allocations: 28.41 kB / 1.293 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4425, allocations: 11.44 kB / 1.293 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.4425, allocations: 0 / 1.293 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of Templates: time 0.004326/0.4469, allocations: 1.111 MB / 1.295 GB, free: 15.72 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.66272335499525]