Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",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.00709/0.00709, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001608/0.001608, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7422 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7553, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.005953/0.7613, allocations: 4.905 MB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009231/0.7705, allocations: 5.631 MB / 1.23 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008749/0.7714, allocations: 27.88 kB / 1.23 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.7748, allocations: 1.287 MB / 1.231 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.7776, allocations: 1.311 MB / 1.233 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.7807, allocations: 1.54 MB / 1.234 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02366/0.8044, allocations: 17.07 MB / 1.251 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.8049, allocations: 172.4 kB / 1.251 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.8063, allocations: 0.8292 MB / 1.252 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.8075, allocations: 0.8052 MB / 1.253 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.8078, allocations: 96 kB / 1.253 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.8096, allocations: 0.9204 MB / 1.254 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.8109, allocations: 0.9388 MB / 1.254 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.8131, allocations: 1.091 MB / 1.256 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.8178, allocations: 3.264 MB / 1.259 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8178, allocations: 0 / 1.259 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8178, allocations: 0 / 1.259 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.786e-05/0.8179, allocations: 0 / 1.259 GB, free: 10.28 MB / 0.9825 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.006504/0.8244, allocations: 2.866 MB / 1.262 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.8245, allocations: 16.61 kB / 1.262 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.8246, allocations: 62.55 kB / 1.262 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.83, allocations: 0.9545 MB / 1.263 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006433/0.8364, allocations: 4.64 MB / 1.267 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.8365, allocations: 40.59 kB / 1.267 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.8367, allocations: 47.94 kB / 1.267 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.8392, allocations: 0.9387 MB / 1.268 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.8392, allocations: 0 / 1.268 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.8393, allocations: 20 kB / 1.268 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.8393, allocations: 8 kB / 1.268 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.8428, allocations: 1.025 MB / 1.269 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008918/0.8518, allocations: 3.228 MB / 1.272 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.8552, allocations: 1.116 MB / 1.273 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.8566, allocations: 445.2 kB / 1.274 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.8567, allocations: 11.98 kB / 1.274 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.8567, allocations: 38.55 kB / 1.274 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.8567, allocations: 0 / 1.274 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005273/0.862, allocations: 1.566 MB / 1.275 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.862, allocations: 55.41 kB / 1.275 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006496/0.8686, allocations: 3.734 MB / 1.279 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.8687, allocations: 45.7 kB / 1.279 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008432/0.8696, allocations: 0.8308 MB / 1.28 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.8697, allocations: 154.9 kB / 1.28 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009032/0.8706, allocations: 0.5717 MB / 1.281 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8708, allocations: 309 kB / 1.281 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.8735, allocations: 1.502 MB / 1.282 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.8766, allocations: 1.95 MB / 1.284 GB, free: 15.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/0.8817, allocations: 3.082 MB / 1.287 GB, free: 12.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/0.8817, allocations: 8 kB / 1.287 GB, free: 12.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006778/0.8885, allocations: 3.799 MB / 1.291 GB, free: 8.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.8885, allocations: 8 kB / 1.291 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.8886, allocations: 8 kB / 1.291 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.8886, allocations: 16 kB / 1.291 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.8904, allocations: 447.5 kB / 1.291 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-05/0.8905, allocations: 23.92 kB / 1.291 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.8931, allocations: 358 kB / 1.292 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.8933, allocations: 95.95 kB / 1.292 GB, free: 7.742 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003339/0.8967, allocations: 1.912 MB / 1.294 GB, free: 5.828 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002963/0.8997, allocations: 1.809 MB / 1.296 GB, free: 3.879 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004942/0.9046, allocations: 2.787 MB / 1.298 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.9046, allocations: 0 / 1.298 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.00661/0.9113, allocations: 3.51 MB / 1.302 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9113, allocations: 11.94 kB / 1.302 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.9113, allocations: 8 kB / 1.302 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.9113, allocations: 16.19 kB / 1.302 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.9131, allocations: 451.4 kB / 1.302 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.459e-05/0.9132, allocations: 19.94 kB / 1.302 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.9159, allocations: 304.5 kB / 1.302 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.9161, allocations: 87.97 kB / 1.303 GB, free: 12.57 MB / 1.029 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.000434/0.9166, allocations: 263.7 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.9173, allocations: 234.3 kB / 1.303 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.9209, allocations: 1.167 MB / 1.304 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.9209, allocations: 4 kB / 1.304 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9209, allocations: 0 / 1.304 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.9209, allocations: 3.984 kB / 1.304 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.9235, allocations: 1.395 MB / 1.306 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9235, allocations: 4 kB / 1.306 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.9245, allocations: 167.8 kB / 1.306 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.9246, allocations: 0 / 1.306 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.9246, allocations: 15.98 kB / 1.306 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.9246, allocations: 4 kB / 1.306 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9246, allocations: 0 / 1.306 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/0.9281, allocations: 1.257 MB / 1.307 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.9293, allocations: 491.1 kB / 1.307 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005831/0.9299, allocations: 4 kB / 1.307 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.9315, allocations: 143.8 kB / 1.308 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.9317, allocations: 27.95 kB / 1.308 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.9317, allocations: 19.98 kB / 1.308 GB, free: 7.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004457/0.9362, allocations: 2.532 MB / 1.31 GB, free: 4.754 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9362, allocations: 0 / 1.31 GB, free: 4.754 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003228/0.9394, allocations: 0.9447 MB / 1.311 GB, free: 3.809 MB / 1.029 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.004815/0.9443, allocations: 2.112 MB / 1.313 GB, free: 1.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008263/0.9526, allocations: 4.116 MB / 1.317 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9526, allocations: 4 kB / 1.317 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.9541, allocations: 484.7 kB / 1.318 GB, free: 13.08 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/0.9585, allocations: 0.9351 MB / 1.318 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06022/1.019, allocations: 25.94 MB / 1.344 GB, free: 1.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.02, allocations: 1.646 MB / 1.345 GB, free: 144 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00293/1.023, allocations: 0.7617 MB / 1.346 GB, free: 15.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/1.025, allocations: 0.9014 MB / 1.347 GB, free: 14.47 MB / 1.076 GB Notification: Performance of SimCode: time 7.21e-07/1.025, allocations: 4 kB / 1.347 GB, free: 14.47 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/1.138, allocations: 66.85 MB / 1.412 GB, free: 12.4 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.51, allocations: 4.062 kB / 1.412 GB, free: 12.39 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches