Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001386/0.001386, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001652/0.001652, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.108/3.108, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [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.002223/0.002223, allocations: 69.08 kB / 1.117 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4469, allocations: 169.9 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002202/0.4491, allocations: 0.6604 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.4493, allocations: 11.98 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.4494, allocations: 3.938 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.4495, allocations: 0 / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.4495, allocations: 4 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.112e-05/0.4496, allocations: 7.938 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.4497, allocations: 23.92 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.4499, allocations: 27.97 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.4499, allocations: 11.92 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.4499, allocations: 11.94 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.45, allocations: 4 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.45, allocations: 4 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.45, allocations: 15.92 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.4501, allocations: 11.94 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.4502, allocations: 55.67 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4502, allocations: 8 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4502, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4502, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004388/0.4507, allocations: 274.2 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4507, allocations: 8.031 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.4507, allocations: 8.875 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.4509, allocations: 122.5 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.451, allocations: 384 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.451, allocations: 8.312 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.4512, allocations: 82.22 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4512, allocations: 4.125 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.4512, allocations: 7.938 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4512, allocations: 0 / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.4513, allocations: 47.97 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.4519, allocations: 410.9 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.452, allocations: 173.1 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.4521, allocations: 80.14 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.4521, allocations: 75.28 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/0.4522, allocations: 109.8 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.4522, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001101/0.4523, allocations: 41.7 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.4524, allocations: 130.7 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.4526, allocations: 117.8 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4526, allocations: 29.69 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.4527, allocations: 99.98 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.4527, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.4528, allocations: 17.72 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4529, allocations: 326.9 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.4529, allocations: 7.938 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.453, allocations: 7.984 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.453, allocations: 12.86 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.453, allocations: 8.062 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001498/0.4532, allocations: 53.61 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4532, allocations: 8 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4532, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4532, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.4533, allocations: 4 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4533, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.4533, allocations: 7.938 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4533, allocations: 0 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.000162/0.4535, allocations: 197.1 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.4536, allocations: 109 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.4536, allocations: 112.4 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/0.4538, allocations: 176.3 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001037/0.4539, allocations: 180.2 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.861e-05/0.454, allocations: 188.2 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.4542, allocations: 370.6 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.4543, allocations: 104.9 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.4543, allocations: 105 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-05/0.4544, allocations: 180.2 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.4545, allocations: 180.3 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001046/0.4546, allocations: 188.2 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.762e-05/0.4547, allocations: 180.2 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.4549, allocations: 311.7 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.455, allocations: 109 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4551, allocations: 184.2 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.4552, allocations: 105 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.4553, allocations: 176.3 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.4553, allocations: 108.9 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.266e-05/0.4554, allocations: 99.27 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4554, allocations: 0 / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000256/0.4557, allocations: 11.89 kB / 1.289 GB, free: 5.094 MB / 0.9825 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.0002149/0.4559, allocations: 174.5 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.456, allocations: 12 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.456, allocations: 3.938 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.456, allocations: 352 / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.4566, allocations: 466.1 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.457, allocations: 203.9 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.179e-05/0.4571, allocations: 75.33 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.4571, allocations: 8.062 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.4572, allocations: 11.42 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.4572, allocations: 0 / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of Templates: time 0.002852/0.46, allocations: 333.5 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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: 9.935957562178373]