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.001917/0.001917, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002342/0.002342, allocations: 198.9 kB / 22.17 MB, free: 5.211 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.717/1.717, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002032/0.002032, allocations: 71.89 kB / 1.109 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8803/0.8824, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001872/0.8842, allocations: 0.6603 MB / 1.275 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001527/0.8844, allocations: 11.94 kB / 1.275 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.8844, allocations: 0 / 1.275 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.8845, allocations: 11.92 kB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/0.8846, allocations: 0 / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.625e-05/0.8846, allocations: 0 / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.8847, allocations: 23.98 kB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.8849, allocations: 27.91 kB / 1.275 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.8849, allocations: 15.94 kB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.8849, allocations: 19.92 kB / 1.275 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.885, allocations: 0 / 1.275 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.885, allocations: 4 kB / 1.275 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.885, allocations: 11.94 kB / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.885, allocations: 19.86 kB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.8852, allocations: 46.48 kB / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.8852, allocations: 7.938 kB / 1.275 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8852, allocations: 0 / 1.275 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8852, allocations: 0 / 1.275 GB, free: 3.672 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.0004245/0.8856, allocations: 351.3 kB / 1.275 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.8856, allocations: 16.03 kB / 1.275 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.8857, allocations: 4.891 kB / 1.275 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.8859, allocations: 180.3 kB / 1.275 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.8859, allocations: 12.31 kB / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.8859, allocations: 4.375 kB / 1.275 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.8861, allocations: 78.16 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.8861, allocations: 192 / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.8861, allocations: 7.938 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8861, allocations: 4 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.8862, allocations: 43.97 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.8867, allocations: 487.2 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.8868, allocations: 165.1 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.8869, allocations: 84.14 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.8869, allocations: 75.28 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.8869, allocations: 117.8 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.8869, allocations: 0 / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.959e-05/0.887, allocations: 33.66 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.8871, allocations: 126.7 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.8873, allocations: 171.5 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.8873, allocations: 29.7 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.8874, allocations: 92.12 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.8874, allocations: 8 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.8874, allocations: 9.719 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8875, allocations: 322.8 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.8876, allocations: 4 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.6e-05/0.8876, allocations: 11.98 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.8876, allocations: 12.8 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8876, allocations: 0 / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001283/0.8877, allocations: 61.69 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.8878, allocations: 4 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8878, allocations: 112 / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8878, allocations: 3.938 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.8878, allocations: 4 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8878, allocations: 3.938 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.8879, allocations: 11.92 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.8879, allocations: 4 kB / 1.277 GB, free: 0.9492 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.000122/0.888, allocations: 201.1 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/0.8881, allocations: 108.9 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.8881, allocations: 120.8 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-05/0.8882, allocations: 180.2 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.232e-05/0.8883, allocations: 180.2 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/0.8884, allocations: 180.3 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.8887, allocations: 429.1 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/0.8887, allocations: 101 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.8888, allocations: 108.9 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.294e-05/0.8889, allocations: 177.8 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.8889, allocations: 180.3 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.646e-05/0.889, allocations: 184.2 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.67e-05/0.8891, allocations: 188.2 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.8893, allocations: 307.7 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.8894, allocations: 190 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.8895, allocations: 184.2 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.8896, allocations: 109 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.8897, allocations: 184.1 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.8897, allocations: 105 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001153/0.8898, allocations: 133.1 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8898, allocations: 0 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002215/0.8901, allocations: 4 kB / 1.281 GB, free: 13.25 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.0001892/0.8903, allocations: 187 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.357e-05/0.8903, allocations: 12.28 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8903, allocations: 0 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.8903, allocations: 4 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.8908, allocations: 451.7 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.8912, allocations: 236.1 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.8915, allocations: 0.6924 MB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.8915, allocations: 8 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.8916, allocations: 11.38 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8916, allocations: 0 / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.002837/0.8944, allocations: 488.3 kB / 1.283 GB, free: 11.12 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.368189816828817]