Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.0086/0.0086, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.00228/0.00228, allocations: 194.2 kB / 16.68 MB, free: 5.93 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.649/2.649, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.88 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9386/0.94, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerSimplified): time 0.08352/1.023, allocations: 76.11 MB / 1.295 GB, free: 5.754 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04207/1.066, allocations: 26.19 MB / 1.321 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005473/1.071, allocations: 131.2 kB / 1.321 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.008452/1.079, allocations: 2.695 MB / 1.323 GB, free: 8.668 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/1.093, allocations: 4.507 MB / 1.328 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00968/1.103, allocations: 3.372 MB / 1.331 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04258/1.145, allocations: 27.53 MB / 1.358 GB, free: 5.211 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005645/1.151, allocations: 2.529 MB / 1.36 GB, free: 2.617 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00838/1.159, allocations: 3.459 MB / 1.364 GB, free: 15.15 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005334/1.165, allocations: 2.681 MB / 1.366 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001415/1.166, allocations: 352 kB / 1.367 GB, free: 12.12 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/1.172, allocations: 2.527 MB / 1.369 GB, free: 9.586 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00247/1.175, allocations: 1.76 MB / 1.371 GB, free: 7.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005597/1.181, allocations: 2.616 MB / 1.373 GB, free: 5.191 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/1.195, allocations: 7.819 MB / 1.381 GB, free: 13.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.195, allocations: 3.938 kB / 1.381 GB, free: 13.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.064e-06/1.195, allocations: 0 / 1.381 GB, free: 13.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002754/1.195, allocations: 0 / 1.381 GB, free: 13.34 MB / 1.107 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.0154/1.211, allocations: 5.881 MB / 1.387 GB, free: 7.352 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/1.211, allocations: 8.031 kB / 1.387 GB, free: 7.344 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008054/1.219, allocations: 1.32 MB / 1.388 GB, free: 6.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01571/1.235, allocations: 5.986 MB / 1.394 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/1.235, allocations: 155.5 kB / 1.394 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/1.236, allocations: 200 kB / 1.394 GB, free: 15.62 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007629/1.244, allocations: 2.493 MB / 1.397 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.079e-05/1.244, allocations: 7.938 kB / 1.397 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004371/1.244, allocations: 72 kB / 1.397 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.941e-05/1.244, allocations: 51.98 kB / 1.397 GB, free: 12.92 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005757/1.25, allocations: 1.973 MB / 1.399 GB, free: 10.95 MB / 1.123 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.02156/1.272, allocations: 11.16 MB / 1.41 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/1.278, allocations: 1.659 MB / 1.411 GB, free: 13.63 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/1.28, allocations: 0.7519 MB / 1.412 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008133/1.288, allocations: 4.057 MB / 1.416 GB, free: 8.52 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/1.288, allocations: 51.56 kB / 1.416 GB, free: 8.461 MB / 1.139 GB Notification: Performance of pre-optimization done (n=89): time 2.595e-06/1.288, allocations: 0 / 1.416 GB, free: 8.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=97): time 0.01536/1.303, allocations: 5.323 MB / 1.421 GB, free: 3.066 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.303, allocations: 60.41 kB / 1.421 GB, free: 2.996 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/1.315, allocations: 5.515 MB / 1.427 GB, free: 13.51 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.315, allocations: 53.7 kB / 1.427 GB, free: 13.45 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.317, allocations: 2.068 MB / 1.429 GB, free: 11.37 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005632/1.318, allocations: 376.9 kB / 1.429 GB, free: 11 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/1.319, allocations: 0.6775 MB / 1.43 GB, free: 10.31 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.319, allocations: 305.1 kB / 1.43 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/1.322, allocations: 1.637 MB / 1.432 GB, free: 8.359 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/1.326, allocations: 2.466 MB / 1.434 GB, free: 5.582 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006214/1.332, allocations: 3.749 MB / 1.438 GB, free: 1.586 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.332, allocations: 7.938 kB / 1.438 GB, free: 1.578 MB / 1.154 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.009212/1.341, allocations: 4.819 MB / 1.442 GB, free: 12.73 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/1.341, allocations: 12 kB / 1.442 GB, free: 12.72 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/1.341, allocations: 24 kB / 1.442 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/1.342, allocations: 487.4 kB / 1.443 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/1.345, allocations: 0.5539 MB / 1.443 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/1.35, allocations: 6.266 MB / 1.45 GB, free: 4.914 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/1.354, allocations: 184 kB / 1.45 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/1.354, allocations: 140 kB / 1.45 GB, free: 4.598 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004914/1.359, allocations: 2.559 MB / 1.452 GB, free: 2.031 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003563/1.363, allocations: 2.332 MB / 1.455 GB, free: 15.39 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005591/1.368, allocations: 3.464 MB / 1.458 GB, free: 11.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.801e-05/1.368, allocations: 8 kB / 1.458 GB, free: 11.67 MB / 1.186 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.008643/1.377, allocations: 4.558 MB / 1.462 GB, free: 7.082 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.377, allocations: 20.03 kB / 1.463 GB, free: 7.062 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.377, allocations: 19.94 kB / 1.463 GB, free: 7.043 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/1.378, allocations: 0.5069 MB / 1.463 GB, free: 6.523 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/1.38, allocations: 0.5265 MB / 1.464 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/1.392, allocations: 10.62 MB / 1.474 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/1.397, allocations: 203.8 kB / 1.474 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005036/1.397, allocations: 120 kB / 1.474 GB, free: 10.43 MB / 1.201 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.001012/1.398, allocations: 308.7 kB / 1.475 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001616/1.4, allocations: 461 kB / 1.475 GB, free: 9.664 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006998/1.407, allocations: 2.433 MB / 1.477 GB, free: 7.215 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/1.407, allocations: 15.98 kB / 1.477 GB, free: 7.199 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.407, allocations: 0 / 1.477 GB, free: 7.199 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004563/1.411, allocations: 2.035 MB / 1.479 GB, free: 5.074 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/1.424, allocations: 5.251 MB / 1.484 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.424, allocations: 0 / 1.484 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.426, allocations: 295.8 kB / 1.485 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/1.426, allocations: 160.6 kB / 1.485 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.426, allocations: 43.89 kB / 1.485 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/1.428, allocations: 1.392 MB / 1.486 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.428, allocations: 0 / 1.486 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007979/1.436, allocations: 3.334 MB / 1.49 GB, free: 10.44 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.438, allocations: 0.7281 MB / 1.49 GB, free: 9.691 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.439, allocations: 20 kB / 1.49 GB, free: 9.672 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002853/1.442, allocations: 131.8 kB / 1.49 GB, free: 9.543 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.442, allocations: 68.95 kB / 1.49 GB, free: 9.477 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.442, allocations: 59.95 kB / 1.491 GB, free: 9.418 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.007915/1.45, allocations: 3.759 MB / 1.494 GB, free: 5.684 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.2e-07/1.45, allocations: 0 / 1.494 GB, free: 5.684 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008013/1.458, allocations: 1.862 MB / 1.496 GB, free: 3.82 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.002913/1.461, allocations: 0.9054 MB / 1.497 GB, free: 2.918 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01142/1.473, allocations: 5.471 MB / 1.502 GB, free: 13.37 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.473, allocations: 3.938 kB / 1.502 GB, free: 13.36 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.475, allocations: 0.8302 MB / 1.503 GB, free: 12.54 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01223/1.487, allocations: 2.474 MB / 1.505 GB, free: 10.13 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.504, allocations: 7.858 MB / 1.513 GB, free: 2.227 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004118/1.508, allocations: 2.742 MB / 1.516 GB, free: 15.45 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.005451/1.514, allocations: 1.177 MB / 1.517 GB, free: 14.27 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.515, allocations: 331.3 kB / 1.517 GB, free: 13.94 MB / 1.248 GB Notification: Performance of SimCode: time 1.313e-06/1.515, allocations: 3.938 kB / 1.517 GB, free: 13.94 MB / 1.248 GB Notification: Performance of Templates: time 0.7401/2.255, allocations: 98.43 MB / 1.613 GB, free: 294.8 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & ./Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_PowerSimplified.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.PowerSimplified.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches