Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001475/0.001475, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001635/0.001635, allocations: 216.4 kB / 23.01 MB, free: 4.602 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 8.047 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 2.911/2.911, allocations: 0.49 GB / 0.7958 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_12_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_12_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.002037/0.002037, allocations: 67.53 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006495/0.3011, allocations: 4.97 MB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009618/0.3107, allocations: 5.7 MB / 1.338 GB, free: 6.742 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009006/0.3116, allocations: 31.81 kB / 1.338 GB, free: 6.711 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004162/0.3158, allocations: 1.611 MB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.3186, allocations: 1.179 MB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.3212, allocations: 1.218 MB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02086/0.3421, allocations: 14.16 MB / 1.355 GB, free: 4.523 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.3424, allocations: 83.25 kB / 1.355 GB, free: 4.426 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.3438, allocations: 0.8994 MB / 1.356 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.345, allocations: 0.9378 MB / 1.357 GB, free: 2.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.3452, allocations: 96 kB / 1.357 GB, free: 2.488 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.3479, allocations: 1.661 MB / 1.359 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.349, allocations: 1.172 MB / 1.36 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.3502, allocations: 1.263 MB / 1.361 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00468/0.3549, allocations: 4.043 MB / 1.365 GB, free: 10.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3549, allocations: 3.938 kB / 1.365 GB, free: 10.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3549, allocations: 4 kB / 1.365 GB, free: 10.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.3549, allocations: 0 / 1.365 GB, free: 10.31 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005165/0.3601, allocations: 3.103 MB / 1.368 GB, free: 7.156 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3601, allocations: 8.031 kB / 1.368 GB, free: 7.148 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/0.3637, allocations: 0.728 MB / 1.369 GB, free: 6.418 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006947/0.3707, allocations: 4.301 MB / 1.373 GB, free: 2.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.3707, allocations: 36.59 kB / 1.373 GB, free: 2.035 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3708, allocations: 47.94 kB / 1.373 GB, free: 1.988 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.3725, allocations: 1.009 MB / 1.374 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3726, allocations: 3.984 kB / 1.374 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.3726, allocations: 12 kB / 1.374 GB, free: 0.957 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3726, allocations: 4 kB / 1.374 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3745, allocations: 0.8574 MB / 1.375 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005472/0.38, allocations: 3.233 MB / 1.378 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.3822, allocations: 1.142 MB / 1.379 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009605/0.3831, allocations: 457.1 kB / 1.38 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.3832, allocations: 16.27 kB / 1.38 GB, free: 11.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3832, allocations: 34.83 kB / 1.38 GB, free: 11.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.3832, allocations: 0 / 1.38 GB, free: 11.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.003733/0.387, allocations: 1.66 MB / 1.381 GB, free: 9.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.387, allocations: 51.41 kB / 1.382 GB, free: 9.418 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/0.3923, allocations: 3.818 MB / 1.385 GB, free: 5.605 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.3925, allocations: 41.7 kB / 1.385 GB, free: 5.559 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009495/0.3935, allocations: 1.005 MB / 1.386 GB, free: 4.547 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.3936, allocations: 134.9 kB / 1.386 GB, free: 4.414 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006918/0.3943, allocations: 0.5198 MB / 1.387 GB, free: 3.887 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3944, allocations: 305.1 kB / 1.387 GB, free: 3.586 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.397, allocations: 1.861 MB / 1.389 GB, free: 1.723 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.4001, allocations: 2.394 MB / 1.391 GB, free: 15.15 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005139/0.4052, allocations: 3.93 MB / 1.395 GB, free: 11.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4052, allocations: 4 kB / 1.395 GB, free: 11.06 MB / 1.092 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006934/0.4122, allocations: 4.578 MB / 1.4 GB, free: 6.477 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.4122, allocations: 12 kB / 1.4 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.4122, allocations: 8 kB / 1.4 GB, free: 6.457 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.4122, allocations: 20 kB / 1.4 GB, free: 6.438 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.4137, allocations: 387.6 kB / 1.4 GB, free: 6.059 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.4138, allocations: 27.92 kB / 1.4 GB, free: 6.031 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.4159, allocations: 266.3 kB / 1.4 GB, free: 5.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.416, allocations: 108 kB / 1.4 GB, free: 5.664 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003229/0.4193, allocations: 2.195 MB / 1.403 GB, free: 3.465 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00273/0.422, allocations: 2.1 MB / 1.405 GB, free: 1.191 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004614/0.4266, allocations: 3.338 MB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.159e-05/0.4266, allocations: 4 kB / 1.408 GB, free: 13.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.006266/0.4329, allocations: 3.974 MB / 1.412 GB, free: 9.715 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4329, allocations: 8 kB / 1.412 GB, free: 9.707 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4329, allocations: 12 kB / 1.412 GB, free: 9.695 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.433, allocations: 20.09 kB / 1.412 GB, free: 9.676 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.4344, allocations: 383.4 kB / 1.412 GB, free: 9.301 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.4344, allocations: 27.92 kB / 1.412 GB, free: 9.273 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.4366, allocations: 222.9 kB / 1.412 GB, free: 9.055 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.4368, allocations: 99.97 kB / 1.413 GB, free: 8.957 MB / 1.107 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.0003805/0.4371, allocations: 255.8 kB / 1.413 GB, free: 8.699 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/0.4376, allocations: 278.1 kB / 1.413 GB, free: 8.426 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.4404, allocations: 1.243 MB / 1.414 GB, free: 7.176 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4404, allocations: 4 kB / 1.414 GB, free: 7.172 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4405, allocations: 0 / 1.414 GB, free: 7.172 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4405, allocations: 3.984 kB / 1.414 GB, free: 7.168 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.4428, allocations: 1.489 MB / 1.416 GB, free: 5.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4429, allocations: 4 kB / 1.416 GB, free: 5.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.4436, allocations: 119.9 kB / 1.416 GB, free: 5.516 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.4436, allocations: 11.94 kB / 1.416 GB, free: 5.504 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.4436, allocations: 11.98 kB / 1.416 GB, free: 5.492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.4436, allocations: 7.938 kB / 1.416 GB, free: 5.484 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4436, allocations: 0 / 1.416 GB, free: 5.484 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.4463, allocations: 1.326 MB / 1.417 GB, free: 4.141 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.4473, allocations: 437.8 kB / 1.418 GB, free: 3.711 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/0.4476, allocations: 8 kB / 1.418 GB, free: 3.703 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4487, allocations: 67.92 kB / 1.418 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.4487, allocations: 31.95 kB / 1.418 GB, free: 3.605 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.4488, allocations: 15.98 kB / 1.418 GB, free: 3.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003677/0.4525, allocations: 2.571 MB / 1.42 GB, free: 1.031 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.4525, allocations: 0 / 1.42 GB, free: 1.031 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002561/0.455, allocations: 1.035 MB / 1.421 GB, free: 15.99 MB / 1.123 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.001103/0.4561, allocations: 496.4 kB / 1.422 GB, free: 15.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006679/0.4628, allocations: 4.254 MB / 1.426 GB, free: 11.25 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.4628, allocations: 0 / 1.426 GB, free: 11.25 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.4638, allocations: 468 kB / 1.426 GB, free: 10.79 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/0.4682, allocations: 1.321 MB / 1.428 GB, free: 9.496 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006633/0.4748, allocations: 4.444 MB / 1.432 GB, free: 5.004 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.4764, allocations: 1.785 MB / 1.434 GB, free: 3.188 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008418/0.4772, allocations: 219.3 kB / 1.434 GB, free: 2.973 MB / 1.123 GB Notification: Performance of SimCode: time 1.222e-06/0.4772, allocations: 0 / 1.434 GB, free: 2.973 MB / 1.123 GB Notification: Performance of Templates: time 0.06597/0.5432, allocations: 45.95 MB / 1.479 GB, free: 5.469 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.76128729400807]