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.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.001792/0.001792, allocations: 110 kB / 18.93 MB, free: 2.945 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.001634/0.001634, allocations: 187.4 kB / 22.23 MB, free: 5.16 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.469/1.469, allocations: 225.6 MB / 251 MB, free: 13.02 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 2.826/2.826, allocations: 476.7 MB / 0.7646 GB, free: 9.906 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.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.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: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.89 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002197/1.157, allocations: 0.6567 MB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001935/1.157, allocations: 15.92 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/1.157, allocations: 3.938 kB / 1.275 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/1.157, allocations: 0 / 1.275 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/1.157, allocations: 7.938 kB / 1.275 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.923e-05/1.157, allocations: 4 kB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/1.157, allocations: 27.98 kB / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/1.157, allocations: 15.98 kB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/1.157, allocations: 19.91 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/1.157, allocations: 11.94 kB / 1.275 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/1.157, allocations: 4 kB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/1.157, allocations: 4 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/1.157, allocations: 15.92 kB / 1.275 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/1.157, allocations: 15.88 kB / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/1.158, allocations: 55.39 kB / 1.275 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.158, allocations: 4 kB / 1.275 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.136e-06/1.158, allocations: 0 / 1.275 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.762e-06/1.158, allocations: 4 kB / 1.275 GB, free: 3.367 MB / 0.9669 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.0004575/1.158, allocations: 268.9 kB / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.158, allocations: 15.97 kB / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/1.158, allocations: 12.89 kB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/1.158, allocations: 126.4 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.158, allocations: 384 / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/1.158, allocations: 8.375 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/1.159, allocations: 78.16 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.159, allocations: 4.188 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.159, allocations: 7.938 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.159, allocations: 0 / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/1.159, allocations: 51.91 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/1.159, allocations: 454.3 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/1.159, allocations: 165.1 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/1.159, allocations: 84.14 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/1.16, allocations: 75.28 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.739e-05/1.16, allocations: 105.8 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/1.16, allocations: 0 / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.909e-05/1.16, allocations: 41.58 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.16, allocations: 126.7 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/1.16, allocations: 179.8 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/1.16, allocations: 25.7 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/1.16, allocations: 100.1 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/1.16, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/1.16, allocations: 21.75 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.16, allocations: 310.8 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/1.16, allocations: 11.98 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/1.16, allocations: 4 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/1.16, allocations: 24.91 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.16, allocations: 0 / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001308/1.16, allocations: 53.58 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.16, allocations: 8 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.161, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.161, allocations: 3.984 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/1.161, allocations: 4 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.161, allocations: 3.938 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/1.161, allocations: 7.953 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/1.161, allocations: 4.031 kB / 1.278 GB, free: 0.8398 MB / 0.9669 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.0001363/1.161, allocations: 193.1 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/1.161, allocations: 109 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/1.161, allocations: 112.7 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/1.161, allocations: 184.2 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.173e-05/1.161, allocations: 184.1 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/1.161, allocations: 180.3 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/1.161, allocations: 396.2 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/1.162, allocations: 109 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-05/1.162, allocations: 102.6 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.972e-05/1.162, allocations: 188.2 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/1.162, allocations: 180.3 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/1.162, allocations: 184.2 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.617e-05/1.162, allocations: 184.2 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/1.162, allocations: 311.7 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/1.162, allocations: 112.9 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.162, allocations: 188.2 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/1.162, allocations: 105 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/1.163, allocations: 184.2 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/1.163, allocations: 108.9 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000121/1.163, allocations: 133.6 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.163, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002378/1.163, allocations: 8 kB / 1.281 GB, free: 13.26 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.0001944/1.163, allocations: 170.5 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.76e-05/1.163, allocations: 8.328 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.163, allocations: 0 / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/1.163, allocations: 0 / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/1.164, allocations: 471.7 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/1.164, allocations: 220 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/1.165, allocations: 0.6885 MB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.622e-05/1.165, allocations: 4 kB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/1.165, allocations: 15.42 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.165, allocations: 0 / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.003028/1.168, allocations: 477.6 kB / 1.283 GB, free: 11.17 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.329260845668614]