Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TotalEfficiencyMethods,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_11_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.004716/0.004716, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.001313/0.001313, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.99/2.99, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 67.84 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3228, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006594/0.3295, allocations: 4.923 MB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.3399, allocations: 5.633 MB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.341, allocations: 23.94 kB / 1.231 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.3446, allocations: 1.284 MB / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.3475, allocations: 1.296 MB / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.3507, allocations: 1.544 MB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5722/0.923, allocations: 17.04 MB / 1.251 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.9234, allocations: 167.2 kB / 1.251 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.9248, allocations: 0.8305 MB / 1.252 GB, free: 18.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.9258, allocations: 0.8088 MB / 1.253 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.926, allocations: 95 kB / 1.253 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.9276, allocations: 0.9197 MB / 1.254 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007356/0.9284, allocations: 0.9536 MB / 1.255 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007841/0.9292, allocations: 1.09 MB / 1.256 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004641/0.9338, allocations: 3.253 MB / 1.259 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9339, allocations: 0.5312 kB / 1.259 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9339, allocations: 0.75 kB / 1.259 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.988e-05/0.934, allocations: 0 / 1.259 GB, free: 17.84 MB / 0.9981 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.005703/0.9397, allocations: 2.87 MB / 1.262 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.9397, allocations: 11.59 kB / 1.262 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/0.9398, allocations: 62.09 kB / 1.262 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005554/0.9454, allocations: 0.9568 MB / 1.263 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007234/0.9526, allocations: 4.638 MB / 1.267 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.9527, allocations: 38.23 kB / 1.267 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.9528, allocations: 47.91 kB / 1.268 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.9556, allocations: 0.9447 MB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.9556, allocations: 0 / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.9557, allocations: 9.812 kB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.9557, allocations: 8.922 kB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.9596, allocations: 1.034 MB / 1.269 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008035/0.9677, allocations: 3.223 MB / 1.273 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/0.9712, allocations: 1.12 MB / 1.274 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.9727, allocations: 447.3 kB / 1.274 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.9728, allocations: 8.812 kB / 1.274 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.9728, allocations: 40.33 kB / 1.274 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.825e-06/0.9728, allocations: 0 / 1.274 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005617/0.9785, allocations: 1.574 MB / 1.276 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.9785, allocations: 56.17 kB / 1.276 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006493/0.985, allocations: 3.73 MB / 1.279 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.9854, allocations: 40.94 kB / 1.279 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006567/0.986, allocations: 0.8351 MB / 1.28 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.9862, allocations: 156.8 kB / 1.28 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008494/0.9871, allocations: 0.5738 MB / 1.281 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.9871, allocations: 302.8 kB / 1.281 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/0.99, allocations: 1.499 MB / 1.283 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/0.9932, allocations: 1.954 MB / 1.285 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005305/0.9985, allocations: 3.086 MB / 1.288 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.9985, allocations: 3 kB / 1.288 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007386/1.006, allocations: 3.798 MB / 1.291 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.006, allocations: 16.69 kB / 1.291 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/1.006, allocations: 8.969 kB / 1.291 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/1.006, allocations: 18.11 kB / 1.291 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.008, allocations: 447.5 kB / 1.292 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.309e-05/1.008, allocations: 21.75 kB / 1.292 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.011, allocations: 350.9 kB / 1.292 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/1.011, allocations: 103 kB / 1.292 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003758/1.015, allocations: 1.903 MB / 1.294 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003037/1.018, allocations: 1.82 MB / 1.296 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005124/1.023, allocations: 2.793 MB / 1.299 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.596e-05/1.023, allocations: 3.156 kB / 1.299 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.007781/1.031, allocations: 3.498 MB / 1.302 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.031, allocations: 9.656 kB / 1.302 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.031, allocations: 8.375 kB / 1.302 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/1.031, allocations: 15.62 kB / 1.302 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.033, allocations: 440.3 kB / 1.303 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-05/1.033, allocations: 21.56 kB / 1.303 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.036, allocations: 300.1 kB / 1.303 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/1.036, allocations: 91.59 kB / 1.303 GB, free: 3.5 MB / 0.9981 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.0004509/1.037, allocations: 259 kB / 1.303 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007943/1.038, allocations: 242.6 kB / 1.303 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/1.041, allocations: 1.173 MB / 1.305 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.041, allocations: 4.812 kB / 1.305 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.041, allocations: 0.8125 kB / 1.305 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.041, allocations: 3.797 kB / 1.305 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/1.044, allocations: 1.385 MB / 1.306 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.044, allocations: 3.938 kB / 1.306 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.045, allocations: 173.9 kB / 1.306 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.045, allocations: 1.469 kB / 1.306 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/1.045, allocations: 18.38 kB / 1.306 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/1.045, allocations: 1 kB / 1.306 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.045, allocations: 0.7031 kB / 1.306 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00363/1.049, allocations: 1.261 MB / 1.307 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.05, allocations: 485.2 kB / 1.308 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006084/1.051, allocations: 10.7 kB / 1.308 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.052, allocations: 140.2 kB / 1.308 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/1.053, allocations: 25.34 kB / 1.308 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/1.053, allocations: 21.45 kB / 1.308 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00433/1.057, allocations: 2.529 MB / 1.31 GB, free: 396 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.057, allocations: 3.375 kB / 1.31 GB, free: 396 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003401/1.06, allocations: 0.9527 MB / 1.311 GB, free: 288 kB / 0.9981 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.005194/1.066, allocations: 2.111 MB / 1.313 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009388/1.075, allocations: 4.123 MB / 1.317 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.075, allocations: 0 / 1.317 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.077, allocations: 478 kB / 1.318 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/1.082, allocations: 0.9418 MB / 1.319 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0643/1.146, allocations: 25.93 MB / 1.344 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/1.148, allocations: 1.651 MB / 1.346 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003152/1.151, allocations: 0.763 MB / 1.347 GB, free: 6.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.153, allocations: 0.9014 MB / 1.347 GB, free: 5.848 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/1.153, allocations: 0 / 1.347 GB, free: 5.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.275, allocations: 66.87 MB / 1.413 GB, free: 3.898 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.79, allocations: 11.98 kB / 1.413 GB, free: 3.887 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches