Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Validation.HydraulicEfficiencyMethods,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff1.eta|eff1.etaHyd|eff1.etaMot|eff2.eta|eff2.etaHyd|eff2.etaMot|eff3.eta|eff3.etaHyd|eff3.etaMot|eff4.eta|eff4.etaHyd|eff4.etaMot",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff1.eta|eff1.etaHyd|eff1.etaMot|eff2.eta|eff2.etaHyd|eff2.etaMot|eff3.eta|eff3.etaHyd|eff3.etaMot|eff4.eta|eff4.etaHyd|eff4.etaMot",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 105.3 kB / 16.41 MB, free: 6.414 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.001782/0.001782, allocations: 191.6 kB / 17.34 MB, free: 5.691 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.621/1.621, 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 10.1.1-maint.10.0.x/package.mo): time 2.379/2.379, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9039/0.9054, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods): time 0.006408/0.9119, allocations: 4.891 MB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.9229, allocations: 5.638 MB / 1.178 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.9245, allocations: 27.88 kB / 1.178 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004632/0.9292, allocations: 1.275 MB / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.9332, allocations: 1.311 MB / 1.18 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.9372, allocations: 1.551 MB / 1.182 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02527/0.9625, allocations: 17.06 MB / 1.198 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005186/0.963, allocations: 168.4 kB / 1.198 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.9647, allocations: 0.8254 MB / 1.199 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.966, allocations: 0.8091 MB / 1.2 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.9664, allocations: 92 kB / 1.2 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.9684, allocations: 0.9164 MB / 1.201 GB, free: 1.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009942/0.9694, allocations: 0.9426 MB / 1.202 GB, free: 228 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.9711, allocations: 1.076 MB / 1.203 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.9756, allocations: 3.194 MB / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9756, allocations: 3.984 kB / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9756, allocations: 0 / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.7e-05/0.9757, allocations: 0 / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.006565/0.9823, allocations: 2.831 MB / 1.209 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.9823, allocations: 8.625 kB / 1.209 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.9868, allocations: 0.7477 MB / 1.21 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006965/0.9937, allocations: 4.323 MB / 1.214 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.9938, allocations: 36.59 kB / 1.214 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.9941, allocations: 48 kB / 1.214 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.9962, allocations: 0.8335 MB / 1.215 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9962, allocations: 0 / 1.215 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.9963, allocations: 8 kB / 1.215 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.9963, allocations: 8 kB / 1.215 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.999, allocations: 0.8457 MB / 1.216 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007427/1.006, allocations: 3.237 MB / 1.219 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/1.009, allocations: 1.002 MB / 1.22 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/1.011, allocations: 417.3 kB / 1.22 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/1.011, allocations: 15.89 kB / 1.22 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/1.011, allocations: 38.5 kB / 1.22 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.464e-06/1.011, allocations: 0 / 1.22 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.00481/1.016, allocations: 1.47 MB / 1.222 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/1.016, allocations: 59.27 kB / 1.222 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006264/1.022, allocations: 3.345 MB / 1.225 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/1.022, allocations: 37.7 kB / 1.225 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009446/1.023, allocations: 0.8228 MB / 1.226 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/1.023, allocations: 150.8 kB / 1.226 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/1.024, allocations: 0.5756 MB / 1.227 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/1.024, allocations: 313.1 kB / 1.227 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/1.027, allocations: 1.463 MB / 1.228 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/1.03, allocations: 1.931 MB / 1.23 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005038/1.035, allocations: 3.027 MB / 1.233 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/1.035, allocations: 0 / 1.233 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006906/1.042, allocations: 3.738 MB / 1.237 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/1.042, allocations: 8 kB / 1.237 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/1.042, allocations: 16.17 kB / 1.237 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.932e-05/1.042, allocations: 16 kB / 1.237 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.044, allocations: 431.4 kB / 1.237 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.324e-05/1.044, allocations: 19.98 kB / 1.237 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/1.047, allocations: 342.2 kB / 1.238 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/1.047, allocations: 99.95 kB / 1.238 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0035/1.051, allocations: 1.879 MB / 1.239 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002811/1.054, allocations: 1.778 MB / 1.241 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004638/1.058, allocations: 2.74 MB / 1.244 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/1.058, allocations: 0 / 1.244 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006391/1.065, allocations: 3.441 MB / 1.247 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.065, allocations: 8 kB / 1.247 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/1.065, allocations: 16 kB / 1.247 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/1.065, allocations: 19.98 kB / 1.247 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.066, allocations: 423.6 kB / 1.248 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/1.067, allocations: 19.94 kB / 1.248 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/1.069, allocations: 286.9 kB / 1.248 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/1.069, allocations: 83.97 kB / 1.248 GB, free: 208 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (209): * Single equations (assignments): 201 * Array equations: 4 * 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.0004788/1.07, allocations: 263.8 kB / 1.248 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007376/1.071, allocations: 238.3 kB / 1.249 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/1.074, allocations: 1.112 MB / 1.25 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.074, allocations: 4 kB / 1.25 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.074, allocations: 0 / 1.25 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.074, allocations: 7.969 kB / 1.25 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/1.077, allocations: 1.355 MB / 1.251 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.077, allocations: 0 / 1.251 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009241/1.078, allocations: 147.8 kB / 1.251 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.078, allocations: 4 kB / 1.251 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/1.078, allocations: 11.98 kB / 1.251 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/1.078, allocations: 7.984 kB / 1.251 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.078, allocations: 3.938 kB / 1.251 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/1.081, allocations: 1.195 MB / 1.252 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.082, allocations: 471.1 kB / 1.253 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006514/1.083, allocations: 12 kB / 1.253 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.085, allocations: 127.8 kB / 1.253 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/1.085, allocations: 27.97 kB / 1.253 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/1.085, allocations: 19.98 kB / 1.253 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004331/1.089, allocations: 2.219 MB / 1.255 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/1.089, allocations: 0 / 1.255 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004021/1.093, allocations: 0.9408 MB / 1.256 GB, free: 7.949 MB / 0.9825 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 (39): * Single equations (assignments): 39 * 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.001152/1.095, allocations: 406.5 kB / 1.256 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007786/1.102, allocations: 4.051 MB / 1.26 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.102, allocations: 3.938 kB / 1.26 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/1.104, allocations: 452.2 kB / 1.261 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/1.109, allocations: 0.9379 MB / 1.262 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.12, allocations: 4.383 MB / 1.266 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.121, allocations: 1.642 MB / 1.268 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.123, allocations: 207.3 kB / 1.268 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of SimCode: time 2.855e-06/1.123, allocations: 0 / 1.268 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.05857/1.181, allocations: 37.09 MB / 1.304 GB, free: 7.004 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches