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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005604/0.005604, allocations: 103.6 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.00144/0.00144, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.428/2.428, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8918, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods): time 0.007047/0.8989, allocations: 4.897 MB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009731/0.9086, allocations: 5.634 MB / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.9099, allocations: 27.88 kB / 1.176 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004064/0.914, allocations: 1.281 MB / 1.178 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.9172, allocations: 1.308 MB / 1.179 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.9206, allocations: 1.547 MB / 1.18 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02574/0.9463, allocations: 17.06 MB / 1.197 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.9469, allocations: 164.4 kB / 1.197 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.9487, allocations: 0.8331 MB / 1.198 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.9503, allocations: 0.8091 MB / 1.199 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004315/0.9507, allocations: 96 kB / 1.199 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.9528, allocations: 0.9126 MB / 1.2 GB, free: 1.137 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.9539, allocations: 0.9426 MB / 1.201 GB, free: 196 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.9556, allocations: 1.088 MB / 1.202 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.9597, allocations: 3.227 MB / 1.205 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.9597, allocations: 0 / 1.205 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9597, allocations: 0 / 1.205 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.617e-05/0.9598, allocations: 0 / 1.205 GB, free: 11.86 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.005764/0.9656, allocations: 2.792 MB / 1.208 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9656, allocations: 8.922 kB / 1.208 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/0.9657, allocations: 70.53 kB / 1.208 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.97, allocations: 0.7345 MB / 1.209 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.9769, allocations: 4.603 MB / 1.213 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.977, allocations: 40.59 kB / 1.213 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.9773, allocations: 44 kB / 1.213 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.9793, allocations: 0.8373 MB / 1.214 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9793, allocations: 0 / 1.214 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.9794, allocations: 8 kB / 1.214 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.9794, allocations: 8 kB / 1.214 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.9821, allocations: 0.8418 MB / 1.215 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007732/0.9898, allocations: 3.365 MB / 1.218 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.9926, allocations: 0.9983 MB / 1.219 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.9938, allocations: 416.5 kB / 1.219 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.9939, allocations: 19.97 kB / 1.219 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.994, allocations: 34.5 kB / 1.22 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.994, allocations: 0 / 1.22 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.004554/0.9985, allocations: 1.461 MB / 1.221 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.9986, allocations: 59.27 kB / 1.221 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005891/1.004, allocations: 3.733 MB / 1.225 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.005, allocations: 37.7 kB / 1.225 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/1.006, allocations: 0.83 MB / 1.225 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/1.006, allocations: 146.2 kB / 1.226 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008995/1.007, allocations: 0.5715 MB / 1.226 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.007, allocations: 309 kB / 1.226 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/1.009, allocations: 1.467 MB / 1.228 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/1.012, allocations: 1.931 MB / 1.23 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/1.017, allocations: 3.027 MB / 1.233 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.017, allocations: 7.938 kB / 1.233 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006735/1.024, allocations: 3.725 MB / 1.236 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.024, allocations: 8 kB / 1.236 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/1.024, allocations: 12.19 kB / 1.236 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.351e-05/1.024, allocations: 20 kB / 1.236 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/1.026, allocations: 423.4 kB / 1.237 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.82e-05/1.026, allocations: 19.94 kB / 1.237 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/1.028, allocations: 337.6 kB / 1.237 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/1.029, allocations: 104 kB / 1.237 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003331/1.032, allocations: 1.882 MB / 1.239 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002839/1.035, allocations: 1.782 MB / 1.241 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004454/1.039, allocations: 2.736 MB / 1.244 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.698e-06/1.039, allocations: 4 kB / 1.244 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006509/1.046, allocations: 3.424 MB / 1.247 GB, free: 188 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.046, allocations: 10.81 kB / 1.247 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.046, allocations: 11.98 kB / 1.247 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.046, allocations: 19.94 kB / 1.247 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/1.048, allocations: 431.5 kB / 1.247 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/1.048, allocations: 19.94 kB / 1.247 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.05, allocations: 286.6 kB / 1.248 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/1.051, allocations: 87.97 kB / 1.248 GB, free: 15.34 MB / 0.9825 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.0003813/1.051, allocations: 259.7 kB / 1.248 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006131/1.052, allocations: 224.8 kB / 1.248 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/1.055, allocations: 1.109 MB / 1.249 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.055, allocations: 4 kB / 1.249 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.055, allocations: 0 / 1.249 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.055, allocations: 7.922 kB / 1.249 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/1.058, allocations: 1.387 MB / 1.251 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.058, allocations: 0 / 1.251 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000913/1.059, allocations: 147.8 kB / 1.251 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.059, allocations: 4 kB / 1.251 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/1.059, allocations: 15.98 kB / 1.251 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.059, allocations: 4 kB / 1.251 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.059, allocations: 0 / 1.251 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/1.062, allocations: 1.186 MB / 1.252 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.063, allocations: 481.6 kB / 1.252 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006332/1.064, allocations: 4 kB / 1.252 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/1.065, allocations: 127.8 kB / 1.253 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/1.066, allocations: 31.95 kB / 1.253 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/1.066, allocations: 19.98 kB / 1.253 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004286/1.07, allocations: 2.529 MB / 1.255 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.755e-06/1.07, allocations: 0 / 1.255 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00306/1.073, allocations: 0.9527 MB / 1.256 GB, free: 6.754 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.004128/1.077, allocations: 2.029 MB / 1.258 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007165/1.084, allocations: 4.035 MB / 1.262 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.084, allocations: 0 / 1.262 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/1.086, allocations: 447.8 kB / 1.262 GB, free: 240 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.09, allocations: 0.9489 MB / 1.263 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04727/1.137, allocations: 23.47 MB / 1.286 GB, free: 7.434 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.139, allocations: 1.646 MB / 1.288 GB, free: 5.754 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003041/1.142, allocations: 0.7539 MB / 1.288 GB, free: 4.996 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.144, allocations: 0.9014 MB / 1.289 GB, free: 4.094 MB / 1.014 GB Notification: Performance of SimCode: time 1.493e-06/1.144, allocations: 0 / 1.289 GB, free: 4.094 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/1.256, allocations: 66.94 MB / 1.355 GB, free: 1.836 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.31, allocations: 3.984 kB / 1.355 GB, free: 1.832 MB / 1.076 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods.fmu > 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