Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.00154/0.00154, allocations: 107.9 kB / 16.27 MB, free: 5.984 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.001598/0.001598, allocations: 189 kB / 17.2 MB, free: 5.609 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.686/2.686, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 64.72 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8101, allocations: 162.2 MB / 1.083 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods): time 0.006389/0.8166, allocations: 4.909 MB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.8277, allocations: 5.652 MB / 1.093 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.8295, allocations: 27 kB / 1.093 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02033/0.8499, allocations: 11.47 MB / 1.104 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.8539, allocations: 1.213 MB / 1.106 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.8579, allocations: 1.487 MB / 1.107 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02038/0.8782, allocations: 12.7 MB / 1.119 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.8787, allocations: 165.6 kB / 1.12 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.8802, allocations: 0.7584 MB / 1.12 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.8813, allocations: 0.7423 MB / 1.121 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.8815, allocations: 77.78 kB / 1.121 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.8833, allocations: 0.8916 MB / 1.122 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009814/0.8843, allocations: 0.9208 MB / 1.123 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.8855, allocations: 1.041 MB / 1.124 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.8894, allocations: 3.041 MB / 1.127 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8894, allocations: 0 / 1.127 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8894, allocations: 3.938 kB / 1.127 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.925e-05/0.8895, allocations: 3.938 kB / 1.127 GB, free: 12.82 MB / 0.8575 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.004843/0.8943, allocations: 2.662 MB / 1.13 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.8944, allocations: 9.562 kB / 1.13 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/0.8986, allocations: 0.7312 MB / 1.13 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006553/0.9052, allocations: 4.229 MB / 1.134 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.9053, allocations: 48.72 kB / 1.134 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.9055, allocations: 47.09 kB / 1.134 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.9073, allocations: 0.7896 MB / 1.135 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9073, allocations: 0 / 1.135 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.9074, allocations: 10.97 kB / 1.135 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.9074, allocations: 7.625 kB / 1.135 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.9098, allocations: 0.7514 MB / 1.136 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006162/0.9159, allocations: 3.011 MB / 1.139 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.9186, allocations: 0.9121 MB / 1.14 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.9197, allocations: 384.5 kB / 1.14 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.9198, allocations: 8 kB / 1.14 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.9198, allocations: 38.55 kB / 1.14 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.9198, allocations: 0 / 1.14 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.004285/0.9241, allocations: 1.345 MB / 1.142 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.9242, allocations: 55.34 kB / 1.142 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004782/0.929, allocations: 3.158 MB / 1.145 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.9292, allocations: 41.69 kB / 1.145 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008543/0.93, allocations: 0.822 MB / 1.146 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.9302, allocations: 138.4 kB / 1.146 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008072/0.931, allocations: 0.5636 MB / 1.146 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9311, allocations: 301.1 kB / 1.147 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.9337, allocations: 1.436 MB / 1.148 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.9367, allocations: 1.88 MB / 1.15 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/0.9416, allocations: 2.937 MB / 1.153 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.9416, allocations: 4 kB / 1.153 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.006671/0.9483, allocations: 3.637 MB / 1.156 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9484, allocations: 8 kB / 1.156 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.9484, allocations: 8 kB / 1.156 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.9484, allocations: 19.98 kB / 1.156 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.9501, allocations: 419.5 kB / 1.157 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.9501, allocations: 27.92 kB / 1.157 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.9524, allocations: 286.1 kB / 1.157 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.9526, allocations: 95.97 kB / 1.157 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003214/0.9558, allocations: 1.836 MB / 1.159 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002747/0.9586, allocations: 1.742 MB / 1.161 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004543/0.9632, allocations: 2.653 MB / 1.163 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.123e-06/0.9632, allocations: 4 kB / 1.163 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.006268/0.9695, allocations: 3.333 MB / 1.166 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9695, allocations: 10.53 kB / 1.166 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.9695, allocations: 12 kB / 1.166 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.9695, allocations: 16 kB / 1.166 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.9712, allocations: 415.4 kB / 1.167 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.9712, allocations: 24.03 kB / 1.167 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.9737, allocations: 243.7 kB / 1.167 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.9739, allocations: 87.97 kB / 1.167 GB, free: 7.969 MB / 0.8887 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 (206): * Single equations (assignments): 198 * 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.0004634/0.9743, allocations: 255.8 kB / 1.167 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009039/0.9752, allocations: 224.9 kB / 1.168 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.9787, allocations: 1.018 MB / 1.169 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.9787, allocations: 3.938 kB / 1.169 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.9787, allocations: 4 kB / 1.169 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.9787, allocations: 7.922 kB / 1.169 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/0.9818, allocations: 1.26 MB / 1.17 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9819, allocations: 0 / 1.17 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008476/0.9827, allocations: 135.9 kB / 1.17 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.9827, allocations: 0 / 1.17 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.9828, allocations: 23.86 kB / 1.17 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.423e-06/0.9828, allocations: 7.938 kB / 1.17 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9828, allocations: 0 / 1.17 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.9858, allocations: 1.088 MB / 1.171 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009935/0.9868, allocations: 425.8 kB / 1.171 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/0.9872, allocations: 8 kB / 1.171 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.9883, allocations: 95.78 kB / 1.172 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.9884, allocations: 23.97 kB / 1.172 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.9884, allocations: 23.98 kB / 1.172 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003434/0.9919, allocations: 2.079 MB / 1.174 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9919, allocations: 0 / 1.174 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003205/0.9951, allocations: 0.9176 MB / 1.175 GB, free: 276 kB / 0.8887 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 (36): * Single equations (assignments): 36 * 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.001007/0.9961, allocations: 410.8 kB / 1.175 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007641/1.004, allocations: 3.915 MB / 1.179 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.004, allocations: 4.062 kB / 1.179 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/1.005, allocations: 411.3 kB / 1.179 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/1.009, allocations: 0.9315 MB / 1.18 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009126/1.018, allocations: 4.111 MB / 1.184 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.02, allocations: 1.646 MB / 1.186 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.021, allocations: 203.3 kB / 1.186 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of SimCode: time 9.02e-07/1.021, allocations: 0 / 1.186 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.05811/1.079, allocations: 35.9 MB / 1.221 GB, free: 0.957 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches