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.001691/0.001691, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001993/0.001993, allocations: 155.7 kB / 23.01 MB, free: 4.949 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.522/1.522, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.707/2.707, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] 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.002105/0.002105, allocations: 75.88 kB / 0.9516 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 169.9 MB / 1.117 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002198/0.373, allocations: 0.6983 MB / 1.118 GB, free: 1.781 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3741, allocations: 0.8276 MB / 1.119 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.3741, allocations: 4 kB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.3742, allocations: 3.938 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.3743, allocations: 15.88 kB / 1.119 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.3744, allocations: 11.98 kB / 1.119 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.3745, allocations: 43.91 kB / 1.119 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3746, allocations: 4 kB / 1.119 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.3747, allocations: 23.91 kB / 1.119 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.3747, allocations: 19.92 kB / 1.119 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3747, allocations: 4 kB / 1.119 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.3748, allocations: 4 kB / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.3748, allocations: 7.984 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.3748, allocations: 11.94 kB / 1.119 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3749, allocations: 47.75 kB / 1.119 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3749, allocations: 0 / 1.119 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.777e-06/0.3749, allocations: 3.984 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3749, allocations: 0 / 1.119 GB, free: 0.7383 MB / 1.061 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.0005397/0.3755, allocations: 282.2 kB / 1.119 GB, free: 440 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3755, allocations: 8.031 kB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.3756, allocations: 8.875 kB / 1.119 GB, free: 424 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3757, allocations: 122.4 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3757, allocations: 384 / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.3757, allocations: 8.375 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.376, allocations: 74.14 kB / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.376, allocations: 192 / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.376, allocations: 3.938 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.376, allocations: 0 / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.3763, allocations: 63.92 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.3766, allocations: 212.6 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3768, allocations: 50.55 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.377, allocations: 44.84 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.377, allocations: 0 / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.377, allocations: 34.55 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.377, allocations: 0 / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005718/0.3776, allocations: 137.5 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3777, allocations: 55.41 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.3777, allocations: 105.8 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3778, allocations: 25.7 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.3778, allocations: 88.14 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.3778, allocations: 7.953 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.3779, allocations: 21.7 kB / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.378, allocations: 314.8 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3782, allocations: 27.91 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3783, allocations: 35.95 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.3786, allocations: 72.78 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3786, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003274/0.3789, allocations: 109.5 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3789, allocations: 7.281 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3789, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.379, allocations: 0 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3791, allocations: 19.98 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3791, allocations: 4.312 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.3792, allocations: 19.91 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3792, allocations: 0 / 1.121 GB, free: 14.64 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 8.239e-05/0.3793, allocations: 109.8 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3793, allocations: 11.89 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.3797, allocations: 105.5 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3797, allocations: 4 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3797, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3797, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3798, allocations: 113.3 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3798, allocations: 0 / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.3799, allocations: 19.92 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3799, allocations: 3.984 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3799, allocations: 0 / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3799, allocations: 3.938 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3799, allocations: 3.984 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.3803, allocations: 195.4 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.3804, allocations: 11.89 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3804, allocations: 0 / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3805, allocations: 15.97 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3805, allocations: 432 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3805, allocations: 4 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.3806, allocations: 91.27 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3806, allocations: 0 / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002242/0.3808, allocations: 8 kB / 1.122 GB, free: 13.89 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.0001237/0.3809, allocations: 91.25 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.3813, allocations: 71.91 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3813, allocations: 7.938 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3814, allocations: 47.89 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.3817, allocations: 4 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.3821, allocations: 129.4 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.994e-05/0.3822, allocations: 67.33 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.3822, allocations: 0 / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.3822, allocations: 16.5 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.3822, allocations: 0 / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of Templates: time 0.003204/0.3854, allocations: 0.7201 MB / 1.123 GB, free: 12.69 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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/jenkins1/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: 8.704035267001018]