Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.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.PowerEuler,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.PowerEuler") translateModel(Buildings.Fluid.Movers.Validation.PowerEuler,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.PowerEuler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, 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.001663/0.001663, 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 72.09 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8346, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerEuler): time 0.08516/0.9198, allocations: 76.3 MB / 1.283 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04038/0.9602, allocations: 26.13 MB / 1.308 GB, free: 6.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006063/0.9664, allocations: 119.4 kB / 1.309 GB, free: 6.723 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008732/0.9751, allocations: 2.684 MB / 1.311 GB, free: 4.031 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.988, allocations: 4.331 MB / 1.315 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00924/0.9973, allocations: 3.21 MB / 1.319 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03603/1.033, allocations: 23.43 MB / 1.341 GB, free: 5.016 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006664/1.04, allocations: 3.232 MB / 1.345 GB, free: 1.723 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009753/1.05, allocations: 3.683 MB / 1.348 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006196/1.056, allocations: 2.978 MB / 1.351 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002001/1.058, allocations: 420 kB / 1.351 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007316/1.065, allocations: 2.679 MB / 1.354 GB, free: 7.953 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003002/1.068, allocations: 1.835 MB / 1.356 GB, free: 6.113 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006198/1.075, allocations: 2.741 MB / 1.359 GB, free: 3.359 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/1.09, allocations: 8.334 MB / 1.367 GB, free: 11 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/1.09, allocations: 0 / 1.367 GB, free: 11 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.994e-06/1.09, allocations: 0 / 1.367 GB, free: 11 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002576/1.09, allocations: 0 / 1.367 GB, free: 11 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.01607/1.107, allocations: 5.827 MB / 1.372 GB, free: 5.074 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.107, allocations: 12.03 kB / 1.372 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/1.117, allocations: 1.617 MB / 1.374 GB, free: 3.438 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/1.133, allocations: 7.39 MB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/1.133, allocations: 159.5 kB / 1.381 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006677/1.134, allocations: 203.9 kB / 1.382 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/1.14, allocations: 2.437 MB / 1.384 GB, free: 9.094 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.54e-05/1.14, allocations: 15.91 kB / 1.384 GB, free: 9.078 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/1.141, allocations: 80 kB / 1.384 GB, free: 9 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/1.141, allocations: 44 kB / 1.384 GB, free: 8.957 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005287/1.146, allocations: 1.906 MB / 1.386 GB, free: 7.047 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.02003/1.166, allocations: 11.1 MB / 1.397 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/1.17, allocations: 1.36 MB / 1.398 GB, free: 10.07 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/1.172, allocations: 0.6856 MB / 1.399 GB, free: 9.387 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 evalFunc (simulation): time 0.007612/1.179, allocations: 3.874 MB / 1.403 GB, free: 5.207 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.179, allocations: 47.5 kB / 1.403 GB, free: 5.152 MB / 1.123 GB Notification: Performance of pre-optimization done (n=83): time 5.149e-06/1.179, allocations: 0 / 1.403 GB, free: 5.152 MB / 1.123 GB Notification: Performance of matching and sorting (n=91): time 0.01361/1.193, allocations: 4.726 MB / 1.407 GB, free: 352 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.193, allocations: 64.41 kB / 1.407 GB, free: 276 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/1.204, allocations: 5.301 MB / 1.412 GB, free: 10.99 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004168/1.205, allocations: 57.7 kB / 1.413 GB, free: 10.93 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.208, allocations: 2.01 MB / 1.414 GB, free: 8.902 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/1.208, allocations: 343.3 kB / 1.415 GB, free: 8.562 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/1.21, allocations: 0.6694 MB / 1.415 GB, free: 7.883 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.21, allocations: 305.1 kB / 1.416 GB, free: 7.582 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/1.213, allocations: 1.531 MB / 1.417 GB, free: 6.039 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/1.216, allocations: 2.363 MB / 1.42 GB, free: 3.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005266/1.221, allocations: 3.578 MB / 1.423 GB, free: 15.49 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/1.221, allocations: 12 kB / 1.423 GB, free: 15.48 MB / 1.154 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.008339/1.23, allocations: 4.601 MB / 1.428 GB, free: 10.85 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/1.23, allocations: 14.66 kB / 1.428 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.23, allocations: 20 kB / 1.428 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009734/1.231, allocations: 499.9 kB / 1.428 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/1.233, allocations: 0.5382 MB / 1.429 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/1.238, allocations: 6.285 MB / 1.435 GB, free: 3.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/1.242, allocations: 181.3 kB / 1.435 GB, free: 2.844 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/1.243, allocations: 132 kB / 1.435 GB, free: 2.715 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00449/1.247, allocations: 2.438 MB / 1.437 GB, free: 280 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00302/1.25, allocations: 2.234 MB / 1.44 GB, free: 13.71 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004843/1.255, allocations: 3.333 MB / 1.443 GB, free: 10.11 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.978e-05/1.255, allocations: 8 kB / 1.443 GB, free: 10.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.008075/1.263, allocations: 4.367 MB / 1.447 GB, free: 5.703 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.263, allocations: 15.94 kB / 1.447 GB, free: 5.688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/1.263, allocations: 20 kB / 1.447 GB, free: 5.668 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.265, allocations: 0.5114 MB / 1.448 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.266, allocations: 0.4953 MB / 1.448 GB, free: 4.648 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.278, allocations: 10.64 MB / 1.459 GB, free: 9.367 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.283, allocations: 191.8 kB / 1.459 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000505/1.283, allocations: 124 kB / 1.459 GB, free: 9.059 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * 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.0007128/1.284, allocations: 319.5 kB / 1.459 GB, free: 8.738 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.285, allocations: 430.3 kB / 1.46 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/1.291, allocations: 2.179 MB / 1.462 GB, free: 6.121 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/1.291, allocations: 8 kB / 1.462 GB, free: 6.113 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.291, allocations: 0 / 1.462 GB, free: 6.113 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003641/1.294, allocations: 1.839 MB / 1.463 GB, free: 4.188 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/1.307, allocations: 4.895 MB / 1.468 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.307, allocations: 3.938 kB / 1.468 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.308, allocations: 263.8 kB / 1.469 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/1.309, allocations: 156.7 kB / 1.469 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.309, allocations: 35.91 kB / 1.469 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/1.31, allocations: 1.419 MB / 1.47 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.31, allocations: 3.984 kB / 1.47 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006974/1.317, allocations: 2.972 MB / 1.473 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/1.32, allocations: 0.71 MB / 1.474 GB, free: 9.555 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/1.321, allocations: 20 kB / 1.474 GB, free: 9.535 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.324, allocations: 115.8 kB / 1.474 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/1.324, allocations: 72.84 kB / 1.474 GB, free: 9.352 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/1.325, allocations: 55.95 kB / 1.474 GB, free: 9.297 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.008228/1.333, allocations: 3.586 MB / 1.477 GB, free: 5.734 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.41e-07/1.333, allocations: 0 / 1.477 GB, free: 5.734 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.008447/1.341, allocations: 1.863 MB / 1.479 GB, free: 3.871 MB / 1.201 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 (104): * Single equations (assignments): 94 * 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.002284/1.344, allocations: 0.8828 MB / 1.48 GB, free: 2.988 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.354, allocations: 5.51 MB / 1.485 GB, free: 13.39 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.354, allocations: 0 / 1.485 GB, free: 13.39 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/1.356, allocations: 0.7672 MB / 1.486 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/1.367, allocations: 2.465 MB / 1.489 GB, free: 10.24 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.382, allocations: 7.781 MB / 1.496 GB, free: 2.414 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/1.385, allocations: 2.682 MB / 1.499 GB, free: 15.7 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.387, allocations: 367.2 kB / 1.499 GB, free: 15.34 MB / 1.232 GB Notification: Performance of SimCode: time 1.653e-06/1.387, allocations: 0 / 1.499 GB, free: 15.34 MB / 1.232 GB Notification: Performance of Templates: time 0.8679/2.255, allocations: 147.2 MB / 1.643 GB, free: 270.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PowerEuler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerEuler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches