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.001587/0.001587, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001804/0.001804, allocations: 214.3 kB / 22.99 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.174/3.174, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 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.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.002368/0.002368, allocations: 71.5 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3523, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002172/0.3545, allocations: 0.7267 MB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002693/0.3548, allocations: 52.23 kB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.3548, allocations: 7.938 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.355, allocations: 15.86 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.285e-05/0.355, allocations: 11.92 kB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.3552, allocations: 23.97 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.3554, allocations: 131.6 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3556, allocations: 84.84 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.3557, allocations: 71.78 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3558, allocations: 87.62 kB / 1.328 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.3558, allocations: 8 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.3559, allocations: 12 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.356, allocations: 51.86 kB / 1.328 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.356, allocations: 63.55 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3563, allocations: 243 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3563, allocations: 0 / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3563, allocations: 8 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.3563, allocations: 0 / 1.328 GB, free: 252 kB / 1.014 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.0006362/0.357, allocations: 429.6 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.357, allocations: 12.03 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.3571, allocations: 32.75 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3574, allocations: 194.2 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.3574, allocations: 16.75 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3575, allocations: 16.38 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.358, allocations: 341.1 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.358, allocations: 3.938 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.358, allocations: 15.92 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.3581, allocations: 20 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.3584, allocations: 259.8 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3597, allocations: 0.906 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3598, allocations: 177.1 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.3598, allocations: 80.14 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.3599, allocations: 75.28 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.3599, allocations: 105.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3599, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.36, allocations: 49.67 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.3601, allocations: 126.7 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3604, allocations: 271.1 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3604, allocations: 29.64 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3606, allocations: 183.9 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.3606, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3606, allocations: 29.7 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3608, allocations: 326.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.3609, allocations: 51.95 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.361, allocations: 93.95 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3611, allocations: 113.8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3611, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003208/0.3614, allocations: 169.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3615, allocations: 8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3615, allocations: 224 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3615, allocations: 11.94 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3616, allocations: 19.92 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3616, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.3617, allocations: 19.98 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3617, allocations: 8 kB / 1.332 GB, free: 11.88 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.0001942/0.3619, allocations: 245.6 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.362, allocations: 120.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.3621, allocations: 121.5 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.712e-05/0.3621, allocations: 184.1 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-05/0.3622, allocations: 176.3 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.151e-05/0.3623, allocations: 184.3 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.3626, allocations: 428.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.633e-05/0.3627, allocations: 105 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.3627, allocations: 104.9 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-05/0.3628, allocations: 184.3 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.3629, allocations: 176.3 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.995e-05/0.363, allocations: 188.2 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.877e-05/0.3631, allocations: 180.2 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.3633, allocations: 319.6 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.3633, allocations: 112.9 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.3635, allocations: 184.5 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3636, allocations: 109 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.3636, allocations: 192.2 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.3637, allocations: 105 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001975/0.3639, allocations: 192.4 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3639, allocations: 0 / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002947/0.3642, allocations: 43.78 kB / 1.335 GB, free: 8.109 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.0001637/0.3644, allocations: 170.5 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.3645, allocations: 68.27 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3645, allocations: 0 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.3645, allocations: 3.938 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.3651, allocations: 481.5 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006992/0.3658, allocations: 468.7 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.366, allocations: 167.5 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.366, allocations: 15.5 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.366, allocations: 0 / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of Templates: time 0.004425/0.3705, allocations: 2.078 MB / 1.339 GB, free: 4.625 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.48347680689767]