Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001934/0.001934, allocations: 79.34 kB / 19.76 MB, free: 1.875 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.002182/0.002182, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.905/2.905, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [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.002089/0.002089, allocations: 63.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9642/0.9663, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001856/0.9681, allocations: 0.7037 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.969, allocations: 0.8291 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.9691, allocations: 0.8125 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.9691, allocations: 3.938 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.9692, allocations: 13.75 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.9693, allocations: 10.73 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.9694, allocations: 47.8 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.9696, allocations: 12.55 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.9697, allocations: 21.88 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.9698, allocations: 18.62 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.9698, allocations: 4.062 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.9698, allocations: 3.812 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.9699, allocations: 15 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.9699, allocations: 12.05 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.9701, allocations: 44.61 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.9701, allocations: 1.438 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9701, allocations: 0 / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.9701, allocations: 0 / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006417/0.9707, allocations: 283.5 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.9708, allocations: 10.34 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.9708, allocations: 10.77 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.971, allocations: 108.1 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.971, allocations: 384 / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.971, allocations: 5.969 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.9713, allocations: 77.84 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.9713, allocations: 192 / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9713, allocations: 3.938 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.9713, allocations: 2.484 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.9717, allocations: 61.8 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.9722, allocations: 214.5 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.9724, allocations: 60.58 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.9726, allocations: 39.38 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.9727, allocations: 1.375 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9727, allocations: 36.06 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.9727, allocations: 0 / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0006436/0.9733, allocations: 129.4 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.9734, allocations: 56.72 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.9735, allocations: 106.5 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.9735, allocations: 30.92 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.9735, allocations: 86.72 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.9736, allocations: 13.89 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.9736, allocations: 18.55 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.9737, allocations: 318.2 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.9738, allocations: 30.03 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.974, allocations: 28.02 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.9743, allocations: 71.48 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9743, allocations: 0 / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003678/0.9747, allocations: 102 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.9747, allocations: 10.22 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9747, allocations: 3.938 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9747, allocations: 1.25 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.9749, allocations: 15.55 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.9749, allocations: 4 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.975, allocations: 15.98 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-06/0.975, allocations: 1.312 kB / 1.19 GB, free: 13.51 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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 5.42e-05/0.975, allocations: 113 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.9751, allocations: 6.422 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.9755, allocations: 100.3 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.9755, allocations: 5.891 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.9755, allocations: 0 / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9755, allocations: 384 / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.9756, allocations: 117.4 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9756, allocations: 5.094 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.9757, allocations: 18.89 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9757, allocations: 0 / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.9757, allocations: 6.125 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9757, allocations: 0 / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9757, allocations: 0 / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.9761, allocations: 199.2 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.9761, allocations: 10.8 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.9761, allocations: 1.766 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.9762, allocations: 11.25 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.9763, allocations: 4.172 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.9763, allocations: 1.781 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.9763, allocations: 91.39 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9763, allocations: 0 / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002146/0.9765, allocations: 6.297 kB / 1.191 GB, free: 12.95 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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.0001058/0.9766, allocations: 97.12 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.977, allocations: 67.14 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.977, allocations: 0 / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.9772, allocations: 43.2 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.9775, allocations: 4.406 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.9778, allocations: 122.5 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.9779, allocations: 72.2 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.9779, allocations: 1.469 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.978, allocations: 15.47 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.978, allocations: 0 / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of Templates: time 0.00351/0.9815, allocations: 0.7186 MB / 1.192 GB, free: 12.54 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.036268425988965]