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.001548/0.001548, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001721/0.001721, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.023 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 3.243/3.243, allocations: 0.49 GB / 0.7958 GB, free: 33.55 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.002095/0.002095, allocations: 74.52 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 176.1 MB / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002039/0.3364, allocations: 0.7539 MB / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.3367, allocations: 56.23 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.3367, allocations: 3.938 kB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.3369, allocations: 27.78 kB / 1.328 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.337, allocations: 11.98 kB / 1.328 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3371, allocations: 19.98 kB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.3374, allocations: 127.5 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.3376, allocations: 88.83 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.3377, allocations: 67.78 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3378, allocations: 79.64 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3378, allocations: 8 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.519e-05/0.3378, allocations: 16 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.3379, allocations: 55.84 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.338, allocations: 87.48 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3383, allocations: 242.8 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3383, allocations: 3.938 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3383, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3383, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 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.0005953/0.3389, allocations: 429.7 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3389, allocations: 8.031 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.339, allocations: 32.75 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3393, allocations: 206.1 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3393, allocations: 12.75 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.3394, allocations: 20.38 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.3398, allocations: 333.1 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3399, allocations: 11.88 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.3399, allocations: 11.92 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.3399, allocations: 23.97 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.3403, allocations: 259.9 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.3416, allocations: 1.061 MB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3417, allocations: 177.1 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.3417, allocations: 84.14 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3418, allocations: 79.28 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.3418, allocations: 106 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.3418, allocations: 0 / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001201/0.342, allocations: 53.5 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.342, allocations: 130.6 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.3426, allocations: 0.5004 MB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3426, allocations: 25.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3427, allocations: 171.9 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/0.3428, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.3428, allocations: 37.66 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.343, allocations: 334.8 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.343, allocations: 51.95 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3432, allocations: 102.8 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3433, allocations: 114.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3433, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003228/0.3436, allocations: 193.3 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3437, allocations: 13.53 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3437, allocations: 8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3437, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3438, allocations: 19.98 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3438, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3439, allocations: 39.72 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.3439, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 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.0001888/0.3441, allocations: 249.5 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/0.3442, allocations: 128.8 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/0.3443, allocations: 138.8 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.043e-05/0.3444, allocations: 188.2 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-05/0.3445, allocations: 176.3 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.201e-05/0.3446, allocations: 184.1 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.3449, allocations: 468.2 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.856e-05/0.345, allocations: 109 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.345, allocations: 104.9 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.432e-05/0.3451, allocations: 180.2 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.685e-05/0.3452, allocations: 184.2 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-05/0.3453, allocations: 180.3 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.603e-05/0.3453, allocations: 180.2 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3455, allocations: 327.6 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.3457, allocations: 148.8 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3458, allocations: 180.5 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3459, allocations: 112.9 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.346, allocations: 184.3 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.346, allocations: 109 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004161/0.3464, allocations: 367 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3464, allocations: 0 / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002858/0.3467, allocations: 24 kB / 1.337 GB, free: 6.855 MB / 1.029 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.0001674/0.3469, allocations: 174.5 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.3471, allocations: 67.89 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3471, allocations: 0 / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3471, allocations: 0 / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.3477, allocations: 483.2 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.3484, allocations: 0.5078 MB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3488, allocations: 0.7749 MB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.3489, allocations: 19.44 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.3489, allocations: 0 / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of Templates: time 0.004612/0.3535, allocations: 2.65 MB / 1.342 GB, free: 2.129 MB / 1.029 GB " [Timeout remaining time 300] 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.27230812900234]