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.001621/0.001621, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001807/0.001807, allocations: 212.8 kB / 23.04 MB, free: 4.867 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.109/3.109, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.001999/0.001999, allocations: 69.55 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3676, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006637/0.3742, allocations: 4.428 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3849, allocations: 5.329 MB / 1.337 GB, free: 7.141 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.3858, allocations: 35.81 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.3904, allocations: 1.526 MB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.3937, allocations: 1.184 MB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.3967, allocations: 1.206 MB / 1.341 GB, free: 3.184 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02458/0.4213, allocations: 14.11 MB / 1.354 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.4216, allocations: 83.23 kB / 1.354 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.4236, allocations: 0.9774 MB / 1.355 GB, free: 3.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.4254, allocations: 0.9378 MB / 1.356 GB, free: 3.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.4257, allocations: 76 kB / 1.356 GB, free: 2.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.4285, allocations: 1.263 MB / 1.358 GB, free: 1.699 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.4297, allocations: 1.122 MB / 1.359 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.4312, allocations: 0.9361 MB / 1.36 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006102/0.4373, allocations: 3.797 MB / 1.363 GB, free: 11.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4373, allocations: 0 / 1.363 GB, free: 11.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4373, allocations: 0 / 1.363 GB, free: 11.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.051e-05/0.4374, allocations: 0 / 1.363 GB, free: 11.82 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.006622/0.444, allocations: 3.101 MB / 1.366 GB, free: 8.672 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.444, allocations: 12.03 kB / 1.366 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/0.4479, allocations: 0.7241 MB / 1.367 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007975/0.4558, allocations: 4.199 MB / 1.371 GB, free: 3.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.4559, allocations: 36.59 kB / 1.371 GB, free: 3.637 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.4561, allocations: 44 kB / 1.371 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.458, allocations: 0.9974 MB / 1.372 GB, free: 2.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.458, allocations: 0 / 1.372 GB, free: 2.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.4581, allocations: 12 kB / 1.372 GB, free: 2.578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4581, allocations: 12 kB / 1.372 GB, free: 2.566 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.4602, allocations: 0.8535 MB / 1.373 GB, free: 1.711 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007071/0.4673, allocations: 2.604 MB / 1.376 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.4698, allocations: 1.127 MB / 1.377 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.4709, allocations: 457.1 kB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/0.471, allocations: 8.281 kB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.4711, allocations: 46.72 kB / 1.377 GB, free: 13.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 3.787e-06/0.4711, allocations: 0 / 1.377 GB, free: 13.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.004279/0.4754, allocations: 1.641 MB / 1.379 GB, free: 11.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.4754, allocations: 55.41 kB / 1.379 GB, free: 11.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006158/0.4816, allocations: 3.507 MB / 1.382 GB, free: 8.203 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003254/0.4819, allocations: 41.7 kB / 1.382 GB, free: 8.156 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.4832, allocations: 0.9973 MB / 1.383 GB, free: 7.152 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.4835, allocations: 134.9 kB / 1.383 GB, free: 7.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008785/0.4843, allocations: 0.5198 MB / 1.384 GB, free: 6.492 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4845, allocations: 305.1 kB / 1.384 GB, free: 6.191 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/0.4875, allocations: 1.857 MB / 1.386 GB, free: 4.332 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003466/0.4909, allocations: 2.392 MB / 1.388 GB, free: 1.754 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005882/0.4968, allocations: 3.923 MB / 1.392 GB, free: 13.68 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.4968, allocations: 4 kB / 1.392 GB, free: 13.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.00827/0.5051, allocations: 4.558 MB / 1.397 GB, free: 9.109 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.5051, allocations: 11.94 kB / 1.397 GB, free: 9.098 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.5052, allocations: 12 kB / 1.397 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.302e-05/0.5052, allocations: 20 kB / 1.397 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.5069, allocations: 383.6 kB / 1.397 GB, free: 8.691 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.23e-05/0.507, allocations: 35.84 kB / 1.397 GB, free: 8.656 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.5092, allocations: 266.3 kB / 1.397 GB, free: 8.395 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.5095, allocations: 104 kB / 1.397 GB, free: 8.293 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003892/0.5134, allocations: 2.183 MB / 1.4 GB, free: 6.105 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002935/0.5163, allocations: 2.102 MB / 1.402 GB, free: 3.816 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005312/0.5216, allocations: 3.327 MB / 1.405 GB, free: 340 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.153e-05/0.5217, allocations: 4 kB / 1.405 GB, free: 336 kB / 1.092 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.007287/0.529, allocations: 3.95 MB / 1.409 GB, free: 12.37 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.529, allocations: 11.94 kB / 1.409 GB, free: 12.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.529, allocations: 12 kB / 1.409 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.529, allocations: 23.98 kB / 1.409 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.5306, allocations: 379.5 kB / 1.409 GB, free: 11.95 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/0.5306, allocations: 23.94 kB / 1.409 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.533, allocations: 211 kB / 1.409 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.5332, allocations: 99.97 kB / 1.409 GB, free: 11.62 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.0004978/0.5337, allocations: 255.1 kB / 1.41 GB, free: 11.37 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/0.5345, allocations: 278 kB / 1.41 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.5376, allocations: 1.251 MB / 1.411 GB, free: 9.836 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5376, allocations: 4 kB / 1.411 GB, free: 9.832 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5376, allocations: 128 / 1.411 GB, free: 9.832 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5376, allocations: 3.938 kB / 1.411 GB, free: 9.828 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.5401, allocations: 1.161 MB / 1.412 GB, free: 8.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5402, allocations: 4 kB / 1.412 GB, free: 8.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.5409, allocations: 123.8 kB / 1.412 GB, free: 8.512 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.5409, allocations: 7.938 kB / 1.412 GB, free: 8.504 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.541, allocations: 11.98 kB / 1.412 GB, free: 8.492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.541, allocations: 4 kB / 1.412 GB, free: 8.488 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.541, allocations: 0 / 1.412 GB, free: 8.488 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.544, allocations: 1.321 MB / 1.414 GB, free: 7.148 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.5451, allocations: 389.8 kB / 1.414 GB, free: 6.766 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.5455, allocations: 11.94 kB / 1.414 GB, free: 6.754 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/0.5465, allocations: 71.92 kB / 1.414 GB, free: 6.684 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.5465, allocations: 27.95 kB / 1.414 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.5466, allocations: 19.98 kB / 1.414 GB, free: 6.637 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004108/0.5507, allocations: 2.339 MB / 1.417 GB, free: 4.309 MB / 1.107 GB Notification: Performance of sort global known variables: time 3e-07/0.5507, allocations: 0 / 1.417 GB, free: 4.309 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003439/0.5542, allocations: 1.007 MB / 1.418 GB, free: 3.301 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.00122/0.5554, allocations: 472.1 kB / 1.418 GB, free: 2.828 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007248/0.5626, allocations: 4.237 MB / 1.422 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.5626, allocations: 0 / 1.422 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.5637, allocations: 473.1 kB / 1.423 GB, free: 14.13 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005099/0.5688, allocations: 1.312 MB / 1.424 GB, free: 12.84 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/0.5762, allocations: 4.444 MB / 1.428 GB, free: 8.348 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.5777, allocations: 1.204 MB / 1.429 GB, free: 7.109 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000923/0.5786, allocations: 223.3 kB / 1.43 GB, free: 6.891 MB / 1.123 GB Notification: Performance of SimCode: time 1.573e-06/0.5786, allocations: 4 kB / 1.43 GB, free: 6.887 MB / 1.123 GB Notification: Performance of Templates: time 0.0744/0.653, allocations: 46.2 MB / 1.475 GB, free: 9.117 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: 23.507384861120954]