Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_y.P|pump_dp.P|pump_m_flow.P|pump_y.per.speed_nominal|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified") translateModel(Buildings.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_y.P|pump_dp.P|pump_m_flow.P|pump_y.per.speed_nominal|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.12 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7836, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerSimplified): time 0.08248/0.8661, allocations: 75.98 MB / 1.283 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0398/0.906, allocations: 26.13 MB / 1.308 GB, free: 7.188 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.9105, allocations: 123.4 kB / 1.308 GB, free: 7.066 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007819/0.9183, allocations: 2.654 MB / 1.311 GB, free: 4.402 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.93, allocations: 4.324 MB / 1.315 GB, free: 60 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008175/0.9382, allocations: 3.362 MB / 1.318 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03794/0.9762, allocations: 27.43 MB / 1.345 GB, free: 1.238 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0056/0.9818, allocations: 3.029 MB / 1.348 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008442/0.9903, allocations: 3.448 MB / 1.351 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005133/0.9954, allocations: 2.697 MB / 1.354 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.9968, allocations: 356 kB / 1.354 GB, free: 7.641 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006095/1.003, allocations: 2.527 MB / 1.357 GB, free: 5.109 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002254/1.005, allocations: 1.714 MB / 1.359 GB, free: 3.391 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004892/1.01, allocations: 2.62 MB / 1.361 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01163/1.022, allocations: 7.788 MB / 1.369 GB, free: 8.945 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.022, allocations: 0 / 1.369 GB, free: 8.945 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.306e-06/1.022, allocations: 4 kB / 1.369 GB, free: 8.941 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001643/1.022, allocations: 0 / 1.369 GB, free: 8.941 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.01203/1.034, allocations: 5.706 MB / 1.374 GB, free: 3.137 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.034, allocations: 8.031 kB / 1.374 GB, free: 3.129 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007229/1.041, allocations: 1.293 MB / 1.376 GB, free: 1.828 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/1.053, allocations: 5.931 MB / 1.381 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/1.053, allocations: 143.5 kB / 1.382 GB, free: 11.69 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004219/1.053, allocations: 200 kB / 1.382 GB, free: 11.49 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004749/1.058, allocations: 2.498 MB / 1.384 GB, free: 8.91 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/1.058, allocations: 4 kB / 1.384 GB, free: 8.906 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/1.058, allocations: 76 kB / 1.384 GB, free: 8.832 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/1.058, allocations: 48 kB / 1.384 GB, free: 8.785 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004678/1.063, allocations: 1.973 MB / 1.386 GB, free: 6.809 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01795/1.081, allocations: 11.14 MB / 1.397 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005848/1.087, allocations: 1.715 MB / 1.399 GB, free: 9.449 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/1.089, allocations: 0.7995 MB / 1.4 GB, free: 8.648 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007149/1.096, allocations: 4.057 MB / 1.403 GB, free: 4.285 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.096, allocations: 47.5 kB / 1.404 GB, free: 4.23 MB / 1.123 GB Notification: Performance of pre-optimization done (n=89): time 3.296e-06/1.096, allocations: 0 / 1.404 GB, free: 4.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=97): time 0.01477/1.111, allocations: 5.249 MB / 1.409 GB, free: 14.89 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/1.111, allocations: 64.41 kB / 1.409 GB, free: 14.82 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.122, allocations: 5.503 MB / 1.414 GB, free: 9.344 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004442/1.122, allocations: 57.7 kB / 1.414 GB, free: 9.281 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/1.124, allocations: 2.046 MB / 1.416 GB, free: 7.219 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/1.125, allocations: 359 kB / 1.416 GB, free: 6.863 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/1.127, allocations: 0.6578 MB / 1.417 GB, free: 6.195 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/1.127, allocations: 313 kB / 1.417 GB, free: 5.887 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003156/1.13, allocations: 1.637 MB / 1.419 GB, free: 4.238 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/1.134, allocations: 2.462 MB / 1.421 GB, free: 1.465 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006346/1.14, allocations: 3.76 MB / 1.425 GB, free: 13.46 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/1.14, allocations: 8 kB / 1.425 GB, free: 13.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.009776/1.15, allocations: 4.797 MB / 1.43 GB, free: 8.625 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/1.15, allocations: 12 kB / 1.43 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/1.15, allocations: 20 kB / 1.43 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000976/1.151, allocations: 491 kB / 1.43 GB, free: 8.102 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/1.153, allocations: 0.5579 MB / 1.431 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/1.159, allocations: 6.261 MB / 1.437 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/1.163, allocations: 187.9 kB / 1.437 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005898/1.163, allocations: 132 kB / 1.437 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005389/1.169, allocations: 2.567 MB / 1.44 GB, free: 13.92 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003702/1.172, allocations: 2.327 MB / 1.442 GB, free: 11.29 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005834/1.178, allocations: 3.468 MB / 1.445 GB, free: 7.57 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.411e-05/1.178, allocations: 4 kB / 1.445 GB, free: 7.566 MB / 1.17 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.008935/1.187, allocations: 4.536 MB / 1.45 GB, free: 2.996 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.187, allocations: 16.78 kB / 1.45 GB, free: 2.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/1.187, allocations: 23.94 kB / 1.45 GB, free: 2.957 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/1.189, allocations: 0.5109 MB / 1.45 GB, free: 2.434 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/1.191, allocations: 0.5188 MB / 1.451 GB, free: 1.914 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.202, allocations: 10.61 MB / 1.461 GB, free: 6.668 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/1.206, allocations: 201.2 kB / 1.461 GB, free: 6.473 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005252/1.207, allocations: 131.9 kB / 1.462 GB, free: 6.344 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (274): * Single equations (assignments): 263 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008645/1.208, allocations: 315.5 kB / 1.462 GB, free: 6.027 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.209, allocations: 434.3 kB / 1.462 GB, free: 5.598 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/1.216, allocations: 2.433 MB / 1.465 GB, free: 3.152 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/1.216, allocations: 15.98 kB / 1.465 GB, free: 3.137 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.216, allocations: 4 kB / 1.465 GB, free: 3.133 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004403/1.22, allocations: 2.035 MB / 1.467 GB, free: 1.008 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/1.233, allocations: 5.243 MB / 1.472 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.233, allocations: 4 kB / 1.472 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.234, allocations: 303.7 kB / 1.472 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/1.235, allocations: 160.8 kB / 1.472 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.235, allocations: 39.91 kB / 1.472 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009705/1.236, allocations: 1.392 MB / 1.474 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.236, allocations: 0 / 1.474 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008078/1.244, allocations: 3.316 MB / 1.477 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/1.246, allocations: 0.7021 MB / 1.478 GB, free: 5.664 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.247, allocations: 20 kB / 1.478 GB, free: 5.645 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.25, allocations: 131.9 kB / 1.478 GB, free: 5.516 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.25, allocations: 68.84 kB / 1.478 GB, free: 5.449 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.251, allocations: 59.94 kB / 1.478 GB, free: 5.391 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007476/1.258, allocations: 3.755 MB / 1.482 GB, free: 1.66 MB / 1.201 GB Notification: Performance of sort global known variables: time 5.21e-07/1.258, allocations: 0 / 1.482 GB, free: 1.66 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00736/1.265, allocations: 1.859 MB / 1.483 GB, free: 15.8 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_y.vol.dynBal.U,pump_dp.vol.dynBal.U,pump_m_flow.vol.dynBal.U) * 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 (110): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002446/1.268, allocations: 0.8919 MB / 1.484 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.279, allocations: 5.804 MB / 1.49 GB, free: 9.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.279, allocations: 5.812 kB / 1.49 GB, free: 9.016 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/1.282, allocations: 0.8647 MB / 1.491 GB, free: 8.156 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/1.294, allocations: 2.49 MB / 1.493 GB, free: 5.738 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.31, allocations: 7.943 MB / 1.501 GB, free: 13.75 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003799/1.314, allocations: 2.73 MB / 1.504 GB, free: 10.99 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.315, allocations: 347.3 kB / 1.504 GB, free: 10.65 MB / 1.232 GB Notification: Performance of SimCode: time 8.82e-07/1.315, allocations: 0 / 1.504 GB, free: 10.65 MB / 1.232 GB Notification: Performance of Templates: time 0.7657/2.081, allocations: 149.4 MB / 1.65 GB, free: 254.9 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PowerSimplified.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches