Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001976/0.001976, 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.002805/0.002805, allocations: 214.6 kB / 22.25 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.828 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.995/2.995, allocations: 475.9 MB / 0.7699 GB, free: 4.875 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [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.002098/0.002098, allocations: 68.59 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00203/0.3983, allocations: 0.7001 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.3997, allocations: 0.8238 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.3998, allocations: 0 / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.3998, allocations: 7.938 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.3999, allocations: 11.86 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.4, allocations: 11.98 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.4001, allocations: 43.91 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4002, allocations: 12 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.4003, allocations: 15.92 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.4003, allocations: 23.86 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.4003, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.4004, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.4004, allocations: 15.98 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.4004, allocations: 11.94 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.4005, allocations: 55.66 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4005, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4005, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.4005, allocations: 0 / 1.285 GB, free: 10.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000525/0.4011, allocations: 282.3 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4011, allocations: 8.031 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.4011, allocations: 8.891 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.4013, allocations: 118.4 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4013, allocations: 384 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.4013, allocations: 384 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.4015, allocations: 78.2 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4015, allocations: 4.188 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4016, allocations: 3.938 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4016, allocations: 0 / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.4018, allocations: 67.86 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.4022, allocations: 200.6 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.4024, allocations: 62.53 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.4026, allocations: 36.86 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4026, allocations: 4 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.4026, allocations: 30.56 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4026, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005481/0.4032, allocations: 137.5 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4032, allocations: 51.41 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.4033, allocations: 109.8 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4033, allocations: 25.7 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.4034, allocations: 84.14 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4034, allocations: 11.94 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4035, allocations: 21.7 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4036, allocations: 310.8 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.4038, allocations: 31.97 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4039, allocations: 35.95 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4042, allocations: 72.66 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4042, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003281/0.4045, allocations: 105.5 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4045, allocations: 8 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4045, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4045, allocations: 336 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4047, allocations: 23.92 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4047, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.4048, allocations: 15.97 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.4048, allocations: 0 / 1.287 GB, free: 8.156 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 (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.272e-05/0.4049, allocations: 109.8 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.4049, allocations: 11.92 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.4053, allocations: 109.5 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4053, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4053, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4053, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.4054, allocations: 117.2 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4054, allocations: 4 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.4056, allocations: 27.91 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4056, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.4056, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4056, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4056, allocations: 4 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.406, allocations: 191.4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.406, allocations: 11.89 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.406, allocations: 7.984 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4061, allocations: 11.98 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4061, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.4061, allocations: 4 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.4062, allocations: 87.27 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4062, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002296/0.4064, allocations: 8 kB / 1.287 GB, free: 7.398 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 (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.0001368/0.4066, allocations: 95.25 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.4069, allocations: 67.92 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4069, allocations: 0 / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4071, allocations: 39.89 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4074, allocations: 15.94 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.4078, allocations: 121.6 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.094e-05/0.4078, allocations: 63.34 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.4079, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.4079, allocations: 15.44 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4079, allocations: 0 / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of Templates: time 0.003528/0.4115, allocations: 0.7473 MB / 1.288 GB, free: 6.203 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.5954225435853]