Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001616/0.001616, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001781/0.001781, allocations: 214.8 kB / 23.04 MB, free: 4.863 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_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_12_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.002558/0.002558, allocations: 68.77 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3984, allocations: 176.1 MB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001979/0.4004, allocations: 0.6937 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.4015, allocations: 0.8358 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.4015, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.4015, allocations: 3.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.4016, allocations: 7.938 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.4017, allocations: 11.98 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.4018, allocations: 47.84 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.402, allocations: 8 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.402, allocations: 23.91 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.4021, allocations: 23.92 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.4021, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.4021, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.4021, allocations: 7.984 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.4022, allocations: 15.88 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.4023, allocations: 43.75 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4023, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4023, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4023, allocations: 3.938 kB / 1.329 GB, free: 15.16 MB / 1.029 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.0005391/0.4028, allocations: 290.2 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.4029, allocations: 12.03 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.4029, allocations: 4.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.403, allocations: 118.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.403, allocations: 384 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.403, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.4033, allocations: 70.2 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4033, allocations: 192 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4033, allocations: 3.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4033, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.4036, allocations: 63.88 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.404, allocations: 212.6 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4042, allocations: 50.55 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.4043, allocations: 52.83 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4044, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4044, allocations: 34.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4044, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005552/0.4049, allocations: 129.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.405, allocations: 59.41 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4051, allocations: 105.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.4051, allocations: 29.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.4052, allocations: 84.14 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.4052, allocations: 7.953 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.4052, allocations: 13.72 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4054, allocations: 318.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.4055, allocations: 31.97 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.4057, allocations: 35.89 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.4059, allocations: 64.8 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.406, allocations: 3.984 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003358/0.4063, allocations: 109.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4063, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4063, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4063, allocations: 3.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4065, allocations: 15.98 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4065, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.4065, allocations: 11.98 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.4066, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 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 9.671e-05/0.4066, allocations: 121.8 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.4067, allocations: 11.89 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.407, allocations: 101.6 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.407, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.407, allocations: 3.938 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.407, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.4072, allocations: 117.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4072, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.4073, allocations: 23.92 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4073, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4073, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4073, allocations: 3.984 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4073, allocations: 320 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.4077, allocations: 195.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.4077, allocations: 7.891 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.4077, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4078, allocations: 11.98 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.4079, allocations: 8.031 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.4079, allocations: 7.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.4079, allocations: 91.25 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4079, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002144/0.4082, allocations: 8 kB / 1.331 GB, free: 12.29 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 (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.0001253/0.4083, allocations: 95.23 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.4086, allocations: 75.86 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4086, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.4088, allocations: 39.95 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.4091, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.4094, allocations: 150.7 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.87e-05/0.4095, allocations: 67.28 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.4095, allocations: 15.42 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4095, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Templates: time 0.002295/0.4118, allocations: 0.7607 MB / 1.333 GB, free: 11.04 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.9851772938855]