Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001837/0.001837, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.002149/0.002149, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.951/2.951, allocations: 0.49 GB / 0.7923 GB, free: 1.465 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [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.002087/0.002087, allocations: 71.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 176.1 MB / 1.322 GB, free: 25.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001861/1.007, allocations: 0.7538 MB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002391/1.007, allocations: 58.77 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/1.007, allocations: 3.938 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/1.008, allocations: 21.06 kB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/1.008, allocations: 12.69 kB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/1.008, allocations: 26.61 kB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/1.008, allocations: 122.9 kB / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/1.008, allocations: 126.1 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/1.008, allocations: 69.02 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/1.008, allocations: 81.61 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/1.008, allocations: 11.12 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.538e-05/1.008, allocations: 12.94 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/1.008, allocations: 60.94 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/1.008, allocations: 78.7 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/1.009, allocations: 239.6 kB / 1.324 GB, free: 24.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.009, allocations: 0 / 1.324 GB, free: 24.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.036e-06/1.009, allocations: 3.375 kB / 1.324 GB, free: 24.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.009, allocations: 0 / 1.324 GB, free: 24.22 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004689/1.009, allocations: 0.4896 MB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/1.009, allocations: 19.14 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/1.009, allocations: 28.12 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/1.009, allocations: 267.2 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/1.01, allocations: 13.12 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/1.01, allocations: 15.16 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/1.01, allocations: 338 kB / 1.325 GB, free: 23.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.01, allocations: 6.969 kB / 1.325 GB, free: 23.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/1.01, allocations: 8 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/1.01, allocations: 18.34 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/1.01, allocations: 269.6 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/1.011, allocations: 1.09 MB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.842e-05/1.011, allocations: 170.5 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/1.011, allocations: 84.11 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/1.011, allocations: 84.16 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.011, allocations: 109.9 kB / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.011, allocations: 0 / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.714e-05/1.011, allocations: 52.41 kB / 1.327 GB, free: 22.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/1.012, allocations: 136.1 kB / 1.327 GB, free: 21.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/1.012, allocations: 0.497 MB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/1.012, allocations: 25.7 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.012, allocations: 168.2 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/1.012, allocations: 1 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/1.012, allocations: 33.25 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/1.012, allocations: 342.2 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/1.012, allocations: 55.62 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/1.013, allocations: 98.95 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/1.013, allocations: 117.1 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.013, allocations: 0.8125 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003464/1.013, allocations: 195 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.013, allocations: 11.53 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.013, allocations: 2.469 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.013, allocations: 2.688 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.013, allocations: 23.06 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.013, allocations: 2.281 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/1.013, allocations: 37.8 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/1.013, allocations: 14.94 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001363/1.013, allocations: 250.9 kB / 1.329 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/1.014, allocations: 131.5 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/1.014, allocations: 135.6 kB / 1.329 GB, free: 20.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/1.014, allocations: 177.3 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/1.014, allocations: 188.2 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/1.014, allocations: 181 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.014, allocations: 497.1 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.014, allocations: 103.3 kB / 1.33 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/1.014, allocations: 109.1 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.724e-05/1.014, allocations: 181.8 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/1.014, allocations: 176.8 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.752e-05/1.014, allocations: 189 kB / 1.33 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.814e-05/1.014, allocations: 181.2 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/1.014, allocations: 332.5 kB / 1.331 GB, free: 18.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/1.014, allocations: 211.7 kB / 1.331 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/1.014, allocations: 186 kB / 1.331 GB, free: 17.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/1.014, allocations: 115.7 kB / 1.331 GB, free: 17.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/1.014, allocations: 181.1 kB / 1.332 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/1.014, allocations: 106.2 kB / 1.332 GB, free: 17.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000411/1.015, allocations: 365.2 kB / 1.332 GB, free: 17.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.015, allocations: 0.8125 kB / 1.332 GB, free: 17.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002868/1.015, allocations: 24.47 kB / 1.332 GB, free: 17.18 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.0001561/1.015, allocations: 181.1 kB / 1.332 GB, free: 17.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001934/1.016, allocations: 70.11 kB / 1.332 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.016, allocations: 0 / 1.332 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/1.016, allocations: 4.719 kB / 1.332 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/1.016, allocations: 477.4 kB / 1.333 GB, free: 16.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/1.017, allocations: 0.5027 MB / 1.333 GB, free: 16.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/1.017, allocations: 0.7762 MB / 1.334 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/1.017, allocations: 18.03 kB / 1.334 GB, free: 15.49 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.017, allocations: 0 / 1.334 GB, free: 15.49 MB / 1.061 GB Notification: Performance of Templates: time 0.005753/1.023, allocations: 2.651 MB / 1.337 GB, free: 15.28 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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: 11.888323079008842]