Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001174/0.001174, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002834, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001214/0.001214, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.002902, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9977/0.9977, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.099, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.471/2.471, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2605/2.731, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.671e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001947/0.001974, allocations: 0.7559 MB / 0.8191 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.002956, allocations: 0.8548 MB / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.00299, allocations: 3.938 kB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.003014, allocations: 0 / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.003058, allocations: 7.875 kB / 0.8199 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.899e-05/0.003117, allocations: 15.97 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.003205, allocations: 47.84 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006116/0.009321, allocations: 4 kB / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.009435, allocations: 31.97 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.009477, allocations: 15.92 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.009498, allocations: 8 kB / 0.8201 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.009508, allocations: 4 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.009521, allocations: 4 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.009545, allocations: 11.94 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.33e-05/0.009629, allocations: 23.92 kB / 0.8201 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.009643, allocations: 3.938 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.072e-06/0.009644, allocations: 0 / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.009658, allocations: 0 / 0.8201 GB, free: 1.023 MB / 0.7917 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.0003629/0.01002, allocations: 260.5 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.01005, allocations: 8.625 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.01008, allocations: 16.92 kB / 0.8204 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.947e-05/0.01017, allocations: 117.7 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.01018, allocations: 384 / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.01019, allocations: 384 / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.01033, allocations: 70.92 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.01033, allocations: 192 / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.01034, allocations: 384 / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.01034, allocations: 384 / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.01037, allocations: 7.938 kB / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.01059, allocations: 156.2 kB / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.01066, allocations: 26.56 kB / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.01068, allocations: 8.859 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.01068, allocations: 0 / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01071, allocations: 38.56 kB / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.01071, allocations: 0 / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001208/0.01083, allocations: 45.66 kB / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.01086, allocations: 59.47 kB / 0.8209 GB, free: 112 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.01095, allocations: 114.7 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.01096, allocations: 25.7 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.01099, allocations: 84.14 kB / 0.8211 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.01101, allocations: 15.84 kB / 0.8211 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.01105, allocations: 13.72 kB / 0.8211 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.01115, allocations: 318.8 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.01116, allocations: 4 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.01117, allocations: 0 / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.01121, allocations: 20.78 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01121, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.587e-05/0.01128, allocations: 37.69 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01129, allocations: 4 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01129, allocations: 4 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.0113, allocations: 7.875 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.01139, allocations: 15.98 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.01139, allocations: 0 / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.01142, allocations: 4 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.01143, allocations: 0 / 0.8215 GB, free: 15.41 MB / 0.8073 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.816e-05/0.01148, allocations: 113.8 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.01151, allocations: 0 / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.01153, allocations: 8 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01153, allocations: 7.938 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01154, allocations: 0 / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01154, allocations: 0 / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.01165, allocations: 77.88 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01165, allocations: 4.266 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.0117, allocations: 11.98 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.01171, allocations: 11.89 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01171, allocations: 0 / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.01172, allocations: 3.984 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01172, allocations: 4 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.01172, allocations: 3.938 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.01183, allocations: 135.5 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.01184, allocations: 0 / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.0119, allocations: 11.98 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.01192, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.01193, allocations: 3.938 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001037/0.01297, allocations: 29.12 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01297, allocations: 0 / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001989/0.01316, allocations: 4 kB / 0.8219 GB, free: 14.94 MB / 0.8073 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.0001013/0.01327, allocations: 80.36 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.832e-05/0.01333, allocations: 16.84 kB / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.01334, allocations: 0 / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.01336, allocations: 16.86 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.01356, allocations: 16 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.01399, allocations: 128.5 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.01403, allocations: 63.28 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.01406, allocations: 3.938 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.01411, allocations: 55.39 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of SimCode: time 8.41e-07/0.01412, allocations: 0 / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.002667/0.01678, allocations: 0.7018 MB / 0.823 GB, free: 13.81 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.220884304493666]