Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 108.7 kB / 17.07 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 186.9 kB / 20.03 MB, free: 2.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.348 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 491.4 MB / 0.7708 GB, free: 1.836 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.91 kB / 1.106 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9109/0.9129, allocations: 164.3 MB / 1.266 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001839/0.9147, allocations: 0.7623 MB / 1.267 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.915, allocations: 55.94 kB / 1.267 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.915, allocations: 2.25 kB / 1.267 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.9152, allocations: 17.16 kB / 1.267 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.9153, allocations: 7.25 kB / 1.267 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.9154, allocations: 35.19 kB / 1.267 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.9156, allocations: 119.6 kB / 1.267 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.9159, allocations: 151.2 kB / 1.267 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.916, allocations: 75.34 kB / 1.267 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.9161, allocations: 69.08 kB / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.9161, allocations: 11.72 kB / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.9162, allocations: 11.78 kB / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.9162, allocations: 54.45 kB / 1.267 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.9163, allocations: 81.52 kB / 1.268 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.9166, allocations: 242.3 kB / 1.268 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9167, allocations: 0 / 1.268 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9167, allocations: 3.938 kB / 1.268 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.9167, allocations: 0.8125 kB / 1.268 GB, free: 5.492 MB / 0.9981 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.0004781/0.9172, allocations: 0.4929 MB / 1.268 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.9172, allocations: 9.562 kB / 1.268 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.9173, allocations: 24.42 kB / 1.268 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.9175, allocations: 253.8 kB / 1.269 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.9175, allocations: 19.95 kB / 1.269 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.9176, allocations: 19.91 kB / 1.269 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.9181, allocations: 331.9 kB / 1.269 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.9181, allocations: 11.88 kB / 1.269 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.9181, allocations: 5.969 kB / 1.269 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.9182, allocations: 12.53 kB / 1.269 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.9185, allocations: 259.5 kB / 1.269 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.9196, allocations: 1.086 MB / 1.27 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.797e-05/0.9197, allocations: 175.1 kB / 1.27 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.9197, allocations: 84.7 kB / 1.271 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.9197, allocations: 75.28 kB / 1.271 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.9198, allocations: 108 kB / 1.271 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9198, allocations: 4 kB / 1.271 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.647e-05/0.9199, allocations: 56.94 kB / 1.271 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.9199, allocations: 127.6 kB / 1.271 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.9205, allocations: 0.4949 MB / 1.271 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.9205, allocations: 30.36 kB / 1.271 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.9206, allocations: 172.7 kB / 1.272 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/0.9206, allocations: 1.797 kB / 1.272 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.9207, allocations: 28.7 kB / 1.272 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.9208, allocations: 345 kB / 1.272 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.9209, allocations: 48.42 kB / 1.272 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.921, allocations: 87.59 kB / 1.272 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.9211, allocations: 109.3 kB / 1.272 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9211, allocations: 0.7812 kB / 1.272 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002961/0.9214, allocations: 192.1 kB / 1.272 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9214, allocations: 8.156 kB / 1.272 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9214, allocations: 5.688 kB / 1.272 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.9215, allocations: 2.094 kB / 1.272 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.9216, allocations: 18.52 kB / 1.272 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.9216, allocations: 6.406 kB / 1.272 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.9217, allocations: 41.95 kB / 1.272 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.9217, allocations: 6.688 kB / 1.272 GB, free: 2.223 MB / 0.9981 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.0001244/0.9218, allocations: 248.8 kB / 1.273 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.9219, allocations: 131.7 kB / 1.273 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.922, allocations: 139.7 kB / 1.273 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.922, allocations: 182.3 kB / 1.273 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.922, allocations: 181.5 kB / 1.273 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.922, allocations: 179.5 kB / 1.273 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.9223, allocations: 492.4 kB / 1.274 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.9223, allocations: 105.8 kB / 1.274 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.9223, allocations: 109.2 kB / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.973e-05/0.9224, allocations: 186.1 kB / 1.274 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.9225, allocations: 180.2 kB / 1.274 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-05/0.9225, allocations: 182.8 kB / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-05/0.9226, allocations: 184.7 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.9228, allocations: 326.8 kB / 1.275 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.9229, allocations: 216.8 kB / 1.275 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.9231, allocations: 181.5 kB / 1.275 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.9232, allocations: 115.1 kB / 1.276 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.9233, allocations: 180.7 kB / 1.276 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.9233, allocations: 106.1 kB / 1.276 GB, free: 14.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003837/0.9237, allocations: 361.9 kB / 1.276 GB, free: 14.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9237, allocations: 0 / 1.276 GB, free: 14.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002694/0.924, allocations: 23.91 kB / 1.276 GB, free: 14.52 MB / 1.014 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.0001581/0.9242, allocations: 178.2 kB / 1.276 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.9243, allocations: 67.41 kB / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9243, allocations: 0 / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.9243, allocations: 3.938 kB / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.9249, allocations: 479.3 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.9255, allocations: 0.5012 MB / 1.277 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.9259, allocations: 0.7726 MB / 1.278 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.926, allocations: 24.34 kB / 1.278 GB, free: 12.83 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/0.926, allocations: 0 / 1.278 GB, free: 12.83 MB / 1.014 GB Notification: Performance of Templates: time 0.005259/0.9312, allocations: 2.648 MB / 1.281 GB, free: 12.63 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.627350619062781]