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.001711/0.001711, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002361/0.002361, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.094 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.085/3.085, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002181/0.002181, allocations: 65.23 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3497, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002105/0.3518, allocations: 0.7535 MB / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.352, allocations: 60.23 kB / 1.328 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.3521, allocations: 3.938 kB / 1.328 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3522, allocations: 19.8 kB / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.3522, allocations: 7.984 kB / 1.328 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3524, allocations: 27.91 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3526, allocations: 127.7 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.3528, allocations: 88.84 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.3529, allocations: 63.8 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.353, allocations: 79.62 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.353, allocations: 12 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.3531, allocations: 12 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.3531, allocations: 51.84 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.3532, allocations: 83.42 kB / 1.329 GB, free: 92 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3536, allocations: 239 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3536, allocations: 3.938 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3536, allocations: 0 / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3536, allocations: 4 kB / 1.329 GB, free: 15.85 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006291/0.3542, allocations: 433.6 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3543, allocations: 8.031 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.3543, allocations: 28.75 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3546, allocations: 206.1 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.3547, allocations: 12.75 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.3548, allocations: 20.36 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.3552, allocations: 341.2 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3553, allocations: 7.875 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3553, allocations: 4 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.3553, allocations: 16 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.3556, allocations: 255.8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.357, allocations: 1.061 MB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3571, allocations: 169.1 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.3571, allocations: 80.14 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.3572, allocations: 79.28 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.3572, allocations: 109.8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3572, allocations: 3.938 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.3573, allocations: 49.69 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3574, allocations: 138.6 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000705/0.3582, allocations: 0.4926 MB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3582, allocations: 25.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3583, allocations: 167.9 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.3583, allocations: 7.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.3584, allocations: 33.7 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3585, allocations: 338.8 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.3586, allocations: 43.97 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.943e-05/0.3587, allocations: 93.97 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3588, allocations: 105.8 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3589, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002976/0.3591, allocations: 185.3 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3592, allocations: 8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3592, allocations: 3.938 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3592, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.3593, allocations: 15.98 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3593, allocations: 7.938 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.3594, allocations: 35.73 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3594, allocations: 11.98 kB / 1.333 GB, free: 11.04 MB / 1.029 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.0001885/0.3596, allocations: 249.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.3597, allocations: 124.8 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.3598, allocations: 142.7 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.255e-05/0.3599, allocations: 176.3 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001356/0.36, allocations: 180.2 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-05/0.3601, allocations: 184.2 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.3605, allocations: 464.2 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.736e-05/0.3605, allocations: 117 kB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.3606, allocations: 101 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.993e-05/0.3607, allocations: 184.2 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.3608, allocations: 180.2 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.253e-05/0.3609, allocations: 180.3 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.423e-05/0.361, allocations: 184.2 kB / 1.336 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3613, allocations: 331.6 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.3614, allocations: 140.8 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.3616, allocations: 188.4 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3618, allocations: 112.9 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3619, allocations: 184.3 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.3619, allocations: 104.9 kB / 1.337 GB, free: 7.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004237/0.3624, allocations: 363 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3624, allocations: 0 / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002993/0.3627, allocations: 28 kB / 1.337 GB, free: 7.008 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.0001734/0.3628, allocations: 170.5 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.363, allocations: 67.88 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.363, allocations: 0 / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.363, allocations: 0 / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.3636, allocations: 487.3 kB / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.3643, allocations: 0.4928 MB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.3648, allocations: 0.7827 MB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.365, allocations: 15.44 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.365, allocations: 0 / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of Templates: time 0.004713/0.3697, allocations: 2.661 MB / 1.341 GB, free: 2.281 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.185698059009155]