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.008254/0.008254, allocations: 106.4 kB / 15.74 MB, free: 6.035 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.001753/0.001754, allocations: 196 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 64.12 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3402, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerSimplified): time 0.7805/1.121, allocations: 75.97 MB / 1.282 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04572/1.167, allocations: 26.14 MB / 1.307 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007994/1.175, allocations: 124.9 kB / 1.308 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01106/1.186, allocations: 2.649 MB / 1.31 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01572/1.201, allocations: 4.333 MB / 1.314 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/1.212, allocations: 3.367 MB / 1.318 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.05094/1.263, allocations: 27.43 MB / 1.344 GB, free: 1.629 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007227/1.271, allocations: 3.033 MB / 1.347 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/1.281, allocations: 3.446 MB / 1.351 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006336/1.287, allocations: 2.694 MB / 1.353 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001781/1.289, allocations: 357.1 kB / 1.354 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008255/1.297, allocations: 2.522 MB / 1.356 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002759/1.3, allocations: 1.724 MB / 1.358 GB, free: 9.504 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009209/1.309, allocations: 2.618 MB / 1.36 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01744/1.327, allocations: 7.787 MB / 1.368 GB, free: 2.398 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.327, allocations: 3.938 kB / 1.368 GB, free: 2.395 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/1.327, allocations: 0 / 1.368 GB, free: 2.395 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003026/1.327, allocations: 0 / 1.368 GB, free: 2.395 MB / 1.045 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.01766/1.345, allocations: 5.709 MB / 1.374 GB, free: 13.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.345, allocations: 8.031 kB / 1.374 GB, free: 13.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007611/1.352, allocations: 1.293 MB / 1.375 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/1.366, allocations: 5.937 MB / 1.381 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/1.366, allocations: 143.5 kB / 1.381 GB, free: 5.887 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006946/1.367, allocations: 200 kB / 1.381 GB, free: 5.691 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/1.373, allocations: 2.491 MB / 1.383 GB, free: 3.117 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-05/1.373, allocations: 15.88 kB / 1.383 GB, free: 3.102 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/1.373, allocations: 76 kB / 1.384 GB, free: 3.027 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/1.374, allocations: 48 kB / 1.384 GB, free: 2.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005454/1.379, allocations: 1.969 MB / 1.386 GB, free: 1.008 MB / 1.061 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.02175/1.401, allocations: 11.14 MB / 1.396 GB, free: 5.375 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00619/1.407, allocations: 1.71 MB / 1.398 GB, free: 3.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/1.409, allocations: 0.7949 MB / 1.399 GB, free: 2.863 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008364/1.417, allocations: 4.053 MB / 1.403 GB, free: 14.51 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/1.417, allocations: 43.56 kB / 1.403 GB, free: 14.46 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 2.414e-06/1.417, allocations: 4 kB / 1.403 GB, free: 14.45 MB / 1.092 GB Notification: Performance of matching and sorting (n=97): time 0.01503/1.433, allocations: 5.245 MB / 1.408 GB, free: 9.125 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.433, allocations: 60.41 kB / 1.408 GB, free: 9.051 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009568/1.442, allocations: 5.507 MB / 1.413 GB, free: 3.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/1.443, allocations: 57.7 kB / 1.413 GB, free: 3.508 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002018/1.445, allocations: 2.046 MB / 1.415 GB, free: 1.445 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004693/1.445, allocations: 351.1 kB / 1.416 GB, free: 1.098 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/1.446, allocations: 0.6694 MB / 1.416 GB, free: 428 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.446, allocations: 305.1 kB / 1.417 GB, free: 120 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/1.449, allocations: 1.645 MB / 1.418 GB, free: 14.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/1.453, allocations: 2.462 MB / 1.421 GB, free: 11.69 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006085/1.459, allocations: 3.749 MB / 1.424 GB, free: 7.691 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/1.459, allocations: 11.94 kB / 1.424 GB, free: 7.68 MB / 1.107 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.009385/1.469, allocations: 4.797 MB / 1.429 GB, free: 2.852 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/1.469, allocations: 22.33 kB / 1.429 GB, free: 2.832 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/1.469, allocations: 16 kB / 1.429 GB, free: 2.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009569/1.47, allocations: 491.1 kB / 1.43 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/1.472, allocations: 0.5656 MB / 1.43 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005178/1.477, allocations: 6.257 MB / 1.436 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/1.482, allocations: 192.8 kB / 1.436 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004799/1.482, allocations: 132 kB / 1.437 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005103/1.487, allocations: 2.57 MB / 1.439 GB, free: 8.137 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003832/1.491, allocations: 2.324 MB / 1.441 GB, free: 5.504 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005965/1.497, allocations: 3.472 MB / 1.445 GB, free: 1.781 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.126e-05/1.497, allocations: 4 kB / 1.445 GB, free: 1.777 MB / 1.123 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.009465/1.507, allocations: 4.536 MB / 1.449 GB, free: 13.21 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.507, allocations: 16 kB / 1.449 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/1.507, allocations: 16 kB / 1.449 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/1.508, allocations: 0.5108 MB / 1.45 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/1.51, allocations: 0.5265 MB / 1.45 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.523, allocations: 10.61 MB / 1.461 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/1.527, allocations: 196.1 kB / 1.461 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/1.527, allocations: 124 kB / 1.461 GB, free: 0.5625 MB / 1.139 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.0007853/1.528, allocations: 316.4 kB / 1.461 GB, free: 252 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.529, allocations: 438.2 kB / 1.462 GB, free: 15.81 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00646/1.536, allocations: 2.433 MB / 1.464 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/1.536, allocations: 16 kB / 1.464 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.536, allocations: 0 / 1.464 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004454/1.54, allocations: 2.031 MB / 1.466 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.553, allocations: 5.259 MB / 1.471 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.553, allocations: 0 / 1.471 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.555, allocations: 303.7 kB / 1.471 GB, free: 5.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/1.555, allocations: 148.8 kB / 1.472 GB, free: 5.445 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.555, allocations: 39.95 kB / 1.472 GB, free: 5.406 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000947/1.556, allocations: 1.392 MB / 1.473 GB, free: 3.965 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.556, allocations: 0 / 1.473 GB, free: 3.965 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008012/1.564, allocations: 3.316 MB / 1.476 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.567, allocations: 0.706 MB / 1.477 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.568, allocations: 24 kB / 1.477 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.57, allocations: 127.9 kB / 1.477 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.571, allocations: 68.91 kB / 1.477 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.571, allocations: 59.88 kB / 1.477 GB, free: 15.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.008165/1.579, allocations: 3.755 MB / 1.481 GB, free: 11.88 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.51e-07/1.579, allocations: 4 kB / 1.481 GB, free: 11.87 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.007376/1.586, allocations: 1.859 MB / 1.483 GB, free: 10.01 MB / 1.17 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.002409/1.589, allocations: 0.8862 MB / 1.484 GB, free: 9.129 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.6, allocations: 5.82 MB / 1.489 GB, free: 3.223 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.6, allocations: 0 / 1.489 GB, free: 3.223 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/1.602, allocations: 0.8764 MB / 1.49 GB, free: 2.348 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/1.613, allocations: 2.482 MB / 1.492 GB, free: 15.94 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/1.628, allocations: 7.713 MB / 1.5 GB, free: 8.184 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/1.632, allocations: 2.749 MB / 1.503 GB, free: 5.406 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.004992/1.637, allocations: 1.173 MB / 1.504 GB, free: 4.227 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.638, allocations: 335.3 kB / 1.504 GB, free: 3.898 MB / 1.186 GB Notification: Performance of SimCode: time 9.72e-07/1.638, allocations: 7.875 kB / 1.504 GB, free: 3.891 MB / 1.186 GB Notification: Performance of Templates: time 0.1684/1.806, allocations: 99.61 MB / 1.601 GB, free: 1.336 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerSimplified.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches