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.002014/0.002014, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002615/0.002615, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.397/3.397, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002072/0.002072, allocations: 68.09 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4272, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.007256/0.4345, allocations: 4.426 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.4463, allocations: 5.335 MB / 1.337 GB, free: 7.215 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.4478, allocations: 35.81 kB / 1.337 GB, free: 7.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005716/0.4535, allocations: 1.528 MB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003506/0.457, allocations: 1.195 MB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.4601, allocations: 1.212 MB / 1.34 GB, free: 3.238 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02387/0.4839, allocations: 14.15 MB / 1.354 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.4843, allocations: 87.23 kB / 1.354 GB, free: 4.973 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.4861, allocations: 0.9891 MB / 1.355 GB, free: 3.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4876, allocations: 0.9807 MB / 1.356 GB, free: 2.996 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.4878, allocations: 76 kB / 1.356 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.4904, allocations: 1.335 MB / 1.358 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.4916, allocations: 1.118 MB / 1.359 GB, free: 476 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4927, allocations: 0.9362 MB / 1.36 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.498, allocations: 3.797 MB / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.498, allocations: 0 / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.825e-06/0.498, allocations: 0 / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.685e-05/0.498, allocations: 0 / 1.363 GB, free: 11.71 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.006874/0.5049, allocations: 3.08 MB / 1.366 GB, free: 8.582 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.505, allocations: 12.03 kB / 1.366 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004395/0.5094, allocations: 0.728 MB / 1.367 GB, free: 7.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00897/0.5183, allocations: 4.183 MB / 1.371 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.5184, allocations: 36.59 kB / 1.371 GB, free: 3.559 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.5185, allocations: 48 kB / 1.371 GB, free: 3.512 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.5206, allocations: 0.9935 MB / 1.372 GB, free: 2.512 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5206, allocations: 4 kB / 1.372 GB, free: 2.508 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.5206, allocations: 12 kB / 1.372 GB, free: 2.496 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.5207, allocations: 8 kB / 1.372 GB, free: 2.488 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.5229, allocations: 0.8496 MB / 1.373 GB, free: 1.637 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007262/0.5302, allocations: 2.6 MB / 1.376 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.5327, allocations: 1.133 MB / 1.377 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.5338, allocations: 453.1 kB / 1.377 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.5339, allocations: 8.281 kB / 1.377 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.534, allocations: 46.72 kB / 1.377 GB, free: 13.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 3.357e-06/0.534, allocations: 0 / 1.377 GB, free: 13.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.00509/0.5391, allocations: 1.645 MB / 1.379 GB, free: 11.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.5391, allocations: 55.41 kB / 1.379 GB, free: 11.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007109/0.5463, allocations: 3.511 MB / 1.382 GB, free: 8.117 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/0.5466, allocations: 37.7 kB / 1.382 GB, free: 8.074 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.5477, allocations: 0.9973 MB / 1.383 GB, free: 7.074 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.5479, allocations: 134.9 kB / 1.383 GB, free: 6.941 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008892/0.5488, allocations: 0.5198 MB / 1.384 GB, free: 6.414 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.549, allocations: 301.1 kB / 1.384 GB, free: 6.117 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.5519, allocations: 1.857 MB / 1.386 GB, free: 4.258 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003396/0.5553, allocations: 2.396 MB / 1.388 GB, free: 1.676 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006001/0.5613, allocations: 3.919 MB / 1.392 GB, free: 13.61 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.5613, allocations: 4 kB / 1.392 GB, free: 13.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008617/0.5699, allocations: 4.554 MB / 1.397 GB, free: 9.035 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.57, allocations: 12 kB / 1.397 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.57, allocations: 12 kB / 1.397 GB, free: 9.012 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.333e-05/0.57, allocations: 16 kB / 1.397 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.5717, allocations: 387.5 kB / 1.397 GB, free: 8.617 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-05/0.5718, allocations: 19.94 kB / 1.397 GB, free: 8.598 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.5742, allocations: 266.3 kB / 1.397 GB, free: 8.336 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.5743, allocations: 108 kB / 1.397 GB, free: 8.23 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003731/0.5781, allocations: 2.195 MB / 1.4 GB, free: 6.031 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00377/0.5818, allocations: 2.098 MB / 1.402 GB, free: 3.746 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006389/0.5882, allocations: 3.327 MB / 1.405 GB, free: 272 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.38e-05/0.5883, allocations: 8 kB / 1.405 GB, free: 264 kB / 1.092 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.007446/0.5957, allocations: 3.954 MB / 1.409 GB, free: 12.29 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.5957, allocations: 13.97 kB / 1.409 GB, free: 12.28 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.5958, allocations: 12 kB / 1.409 GB, free: 12.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.5958, allocations: 20 kB / 1.409 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.5973, allocations: 375.6 kB / 1.409 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/0.5974, allocations: 19.94 kB / 1.409 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.6, allocations: 215 kB / 1.409 GB, free: 11.65 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.6001, allocations: 99.97 kB / 1.41 GB, free: 11.55 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.000513/0.6007, allocations: 255.8 kB / 1.41 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.6012, allocations: 270 kB / 1.41 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/0.6044, allocations: 1.251 MB / 1.411 GB, free: 9.773 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6044, allocations: 4 kB / 1.411 GB, free: 9.77 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6044, allocations: 4 kB / 1.411 GB, free: 9.766 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.6044, allocations: 0 / 1.411 GB, free: 9.766 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.607, allocations: 1.157 MB / 1.412 GB, free: 8.578 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.607, allocations: 4.125 kB / 1.412 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.6078, allocations: 127.8 kB / 1.413 GB, free: 8.449 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.6078, allocations: 11.92 kB / 1.413 GB, free: 8.438 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.6078, allocations: 8 kB / 1.413 GB, free: 8.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.6078, allocations: 4 kB / 1.413 GB, free: 8.426 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6078, allocations: 0 / 1.413 GB, free: 8.426 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/0.6108, allocations: 1.321 MB / 1.414 GB, free: 7.086 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.612, allocations: 381.8 kB / 1.414 GB, free: 6.711 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/0.6123, allocations: 11.94 kB / 1.414 GB, free: 6.699 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6133, allocations: 71.92 kB / 1.414 GB, free: 6.629 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6134, allocations: 27.95 kB / 1.414 GB, free: 6.602 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/0.6135, allocations: 23.97 kB / 1.414 GB, free: 6.578 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004063/0.6175, allocations: 2.339 MB / 1.417 GB, free: 4.25 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.6175, allocations: 3.938 kB / 1.417 GB, free: 4.246 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003374/0.6209, allocations: 1.003 MB / 1.418 GB, free: 3.242 MB / 1.107 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.001359/0.6223, allocations: 477.1 kB / 1.418 GB, free: 2.766 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007676/0.63, allocations: 4.238 MB / 1.422 GB, free: 14.53 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.63, allocations: 0 / 1.422 GB, free: 14.53 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.6311, allocations: 463.8 kB / 1.423 GB, free: 14.08 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/0.6364, allocations: 1.315 MB / 1.424 GB, free: 12.79 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/0.6437, allocations: 4.259 MB / 1.428 GB, free: 8.484 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.6453, allocations: 1.208 MB / 1.429 GB, free: 7.242 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002982/0.6483, allocations: 0.8021 MB / 1.43 GB, free: 6.434 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.6489, allocations: 215.4 kB / 1.43 GB, free: 6.223 MB / 1.123 GB Notification: Performance of SimCode: time 1.603e-06/0.6489, allocations: 0 / 1.43 GB, free: 6.223 MB / 1.123 GB Notification: Performance of Templates: time 0.1108/0.7597, allocations: 62.89 MB / 1.492 GB, free: 8.562 MB / 1.186 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 -s cvode -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: 11.732604994002031]