Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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.00179/0.00179, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001997/0.001997, allocations: 206.6 kB / 22.99 MB, free: 4.977 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.365/3.365, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") [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.002069/0.002069, allocations: 67.34 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006716/0.3693, allocations: 4.436 MB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.3795, allocations: 5.32 MB / 1.374 GB, free: 3.789 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008543/0.3804, allocations: 27.88 kB / 1.374 GB, free: 3.762 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.3849, allocations: 1.53 MB / 1.376 GB, free: 2.227 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.3878, allocations: 1.191 MB / 1.377 GB, free: 1.031 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.3906, allocations: 1.207 MB / 1.378 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02239/0.413, allocations: 14.11 MB / 1.392 GB, free: 1.711 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.4133, allocations: 87.23 kB / 1.392 GB, free: 1.605 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.4152, allocations: 0.9852 MB / 1.393 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.4172, allocations: 0.9377 MB / 1.394 GB, free: 15.68 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.4176, allocations: 76 kB / 1.394 GB, free: 15.6 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.4205, allocations: 1.259 MB / 1.395 GB, free: 14.34 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.4218, allocations: 1.122 MB / 1.396 GB, free: 13.21 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.4235, allocations: 0.9361 MB / 1.397 GB, free: 12.27 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005723/0.4292, allocations: 3.794 MB / 1.401 GB, free: 8.465 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4292, allocations: 0 / 1.401 GB, free: 8.465 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4292, allocations: 3.938 kB / 1.401 GB, free: 8.461 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.442e-05/0.4293, allocations: 0 / 1.401 GB, free: 8.461 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006878/0.4362, allocations: 3.072 MB / 1.404 GB, free: 5.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4362, allocations: 12.02 kB / 1.404 GB, free: 5.328 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/0.4401, allocations: 0.728 MB / 1.404 GB, free: 4.598 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007774/0.4479, allocations: 4.183 MB / 1.409 GB, free: 360 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.4479, allocations: 40.59 kB / 1.409 GB, free: 320 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.448, allocations: 43.94 kB / 1.409 GB, free: 276 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.45, allocations: 0.9935 MB / 1.41 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.45, allocations: 3.984 kB / 1.41 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.45, allocations: 12 kB / 1.41 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.45, allocations: 4 kB / 1.41 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.4522, allocations: 0.8535 MB / 1.41 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006093/0.4583, allocations: 2.604 MB / 1.413 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.4607, allocations: 1.128 MB / 1.414 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.4617, allocations: 453.1 kB / 1.415 GB, free: 10.17 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.4618, allocations: 20.27 kB / 1.415 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.4618, allocations: 34.78 kB / 1.415 GB, free: 10.11 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.4618, allocations: 0 / 1.415 GB, free: 10.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.004112/0.466, allocations: 1.637 MB / 1.416 GB, free: 8.461 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.466, allocations: 59.41 kB / 1.416 GB, free: 8.391 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006099/0.4721, allocations: 3.507 MB / 1.42 GB, free: 4.887 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.4723, allocations: 41.7 kB / 1.42 GB, free: 4.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.4735, allocations: 0.9973 MB / 1.421 GB, free: 3.836 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.4738, allocations: 138.9 kB / 1.421 GB, free: 3.699 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/0.4747, allocations: 0.5121 MB / 1.421 GB, free: 3.18 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4748, allocations: 301.1 kB / 1.422 GB, free: 2.883 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/0.4778, allocations: 1.857 MB / 1.423 GB, free: 1.023 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/0.4813, allocations: 2.4 MB / 1.426 GB, free: 14.44 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005937/0.4872, allocations: 3.922 MB / 1.43 GB, free: 10.37 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.4872, allocations: 4 kB / 1.43 GB, free: 10.36 MB / 1.123 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007726/0.4949, allocations: 4.555 MB / 1.434 GB, free: 5.797 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.495, allocations: 11.94 kB / 1.434 GB, free: 5.785 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.495, allocations: 12 kB / 1.434 GB, free: 5.773 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.497e-05/0.495, allocations: 23.98 kB / 1.434 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.4967, allocations: 383.5 kB / 1.434 GB, free: 5.375 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.014e-05/0.4967, allocations: 27.92 kB / 1.434 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.4988, allocations: 258.3 kB / 1.435 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.4991, allocations: 112 kB / 1.435 GB, free: 4.984 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003586/0.5027, allocations: 2.191 MB / 1.437 GB, free: 2.789 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002979/0.5056, allocations: 2.091 MB / 1.439 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005105/0.5108, allocations: 3.334 MB / 1.442 GB, free: 13.02 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.374e-05/0.5108, allocations: 4 kB / 1.442 GB, free: 13.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.006659/0.5174, allocations: 3.945 MB / 1.446 GB, free: 9.07 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.5175, allocations: 15.94 kB / 1.446 GB, free: 9.055 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5175, allocations: 8 kB / 1.446 GB, free: 9.047 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5175, allocations: 20 kB / 1.446 GB, free: 9.027 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.5189, allocations: 383.5 kB / 1.447 GB, free: 8.652 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/0.519, allocations: 31.86 kB / 1.447 GB, free: 8.621 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.521, allocations: 216.2 kB / 1.447 GB, free: 8.41 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.5212, allocations: 100.1 kB / 1.447 GB, free: 8.312 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 1 (per3.haveWMot_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0003921/0.5216, allocations: 251.8 kB / 1.447 GB, free: 8.059 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/0.5222, allocations: 278 kB / 1.447 GB, free: 7.785 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.5253, allocations: 1.239 MB / 1.449 GB, free: 6.539 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5253, allocations: 8 kB / 1.449 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5253, allocations: 0 / 1.449 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5253, allocations: 3.984 kB / 1.449 GB, free: 6.527 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.5276, allocations: 1.16 MB / 1.45 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5276, allocations: 0 / 1.45 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/0.5283, allocations: 127.8 kB / 1.45 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-06/0.5283, allocations: 3.938 kB / 1.45 GB, free: 5.207 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.5284, allocations: 15.98 kB / 1.45 GB, free: 5.191 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5284, allocations: 3.938 kB / 1.45 GB, free: 5.188 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5284, allocations: 3.938 kB / 1.45 GB, free: 5.184 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.5311, allocations: 1.322 MB / 1.451 GB, free: 3.844 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.5322, allocations: 377.9 kB / 1.452 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/0.5326, allocations: 11.94 kB / 1.452 GB, free: 3.461 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.5338, allocations: 67.92 kB / 1.452 GB, free: 3.395 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.5338, allocations: 31.94 kB / 1.452 GB, free: 3.363 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.5339, allocations: 23.98 kB / 1.452 GB, free: 3.34 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004063/0.538, allocations: 2.335 MB / 1.454 GB, free: 1.016 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.538, allocations: 0 / 1.454 GB, free: 1.016 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003098/0.5411, allocations: 1.007 MB / 1.455 GB, free: 8 kB / 1.139 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 (36): * Single equations (assignments): 36 * 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.001309/0.5424, allocations: 470.2 kB / 1.455 GB, free: 15.54 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007598/0.55, allocations: 4.239 MB / 1.46 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.55, allocations: 0 / 1.46 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.5511, allocations: 460.2 kB / 1.46 GB, free: 10.85 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00569/0.5568, allocations: 1.315 MB / 1.461 GB, free: 9.555 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008359/0.5652, allocations: 4.452 MB / 1.466 GB, free: 5.055 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.5669, allocations: 1.212 MB / 1.467 GB, free: 3.809 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009224/0.5678, allocations: 219.3 kB / 1.467 GB, free: 3.594 MB / 1.154 GB Notification: Performance of SimCode: time 9.12e-07/0.5678, allocations: 0 / 1.467 GB, free: 3.594 MB / 1.154 GB Notification: Performance of Templates: time 0.07286/0.6407, allocations: 46.18 MB / 1.512 GB, free: 5.836 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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: 24.088335430249572]