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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007109/0.007109, allocations: 101.1 kB / 15.73 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.001472/0.001472, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.83 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2969, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006509/0.3035, allocations: 4.916 MB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.3137, allocations: 5.617 MB / 1.218 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.315, allocations: 27.88 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.3191, allocations: 1.285 MB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.3223, allocations: 1.313 MB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.3259, allocations: 1.538 MB / 1.222 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0256/0.3515, allocations: 17.08 MB / 1.238 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.352, allocations: 166.7 kB / 1.238 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.3536, allocations: 0.8293 MB / 1.239 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.3551, allocations: 0.8052 MB / 1.24 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.3555, allocations: 99.98 kB / 1.24 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.3576, allocations: 0.9126 MB / 1.241 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.3586, allocations: 0.9505 MB / 1.242 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.3605, allocations: 1.084 MB / 1.243 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.3652, allocations: 3.251 MB / 1.246 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3652, allocations: 0 / 1.246 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3653, allocations: 3.938 kB / 1.246 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001239/0.3654, allocations: 0 / 1.246 GB, free: 2.125 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.7073/1.073, allocations: 2.769 MB / 1.249 GB, free: 38.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/1.073, allocations: 11.11 kB / 1.249 GB, free: 38.71 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/1.073, allocations: 68.42 kB / 1.249 GB, free: 38.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005502/1.078, allocations: 0.947 MB / 1.25 GB, free: 38.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/1.085, allocations: 4.613 MB / 1.254 GB, free: 37.97 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/1.085, allocations: 34.38 kB / 1.254 GB, free: 37.97 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.085, allocations: 45.91 kB / 1.255 GB, free: 37.97 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/1.088, allocations: 0.9408 MB / 1.255 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/1.088, allocations: 0 / 1.255 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/1.088, allocations: 14.19 kB / 1.255 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.088, allocations: 8.375 kB / 1.255 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/1.091, allocations: 1.029 MB / 1.256 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008382/1.1, allocations: 3.225 MB / 1.26 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/1.103, allocations: 1.105 MB / 1.261 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/1.105, allocations: 446.2 kB / 1.261 GB, free: 37.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/1.105, allocations: 14.91 kB / 1.261 GB, free: 37.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.105, allocations: 35.73 kB / 1.261 GB, free: 37.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/1.105, allocations: 5.031 kB / 1.261 GB, free: 37.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005154/1.11, allocations: 1.553 MB / 1.263 GB, free: 37.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/1.11, allocations: 55.98 kB / 1.263 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006898/1.117, allocations: 3.735 MB / 1.266 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/1.117, allocations: 39.2 kB / 1.266 GB, free: 36.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/1.118, allocations: 0.8302 MB / 1.267 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.118, allocations: 145.3 kB / 1.267 GB, free: 36.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008123/1.119, allocations: 0.5682 MB / 1.268 GB, free: 36.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/1.119, allocations: 302.8 kB / 1.268 GB, free: 35.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/1.122, allocations: 1.499 MB / 1.27 GB, free: 35.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/1.124, allocations: 1.959 MB / 1.272 GB, free: 34.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/1.13, allocations: 3.085 MB / 1.275 GB, free: 33.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.13, allocations: 2.594 kB / 1.275 GB, free: 33.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007028/1.137, allocations: 3.792 MB / 1.278 GB, free: 31.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.137, allocations: 9.625 kB / 1.278 GB, free: 31.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.137, allocations: 8.812 kB / 1.278 GB, free: 31.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/1.137, allocations: 16.5 kB / 1.278 GB, free: 31.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/1.139, allocations: 446.6 kB / 1.279 GB, free: 31.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/1.139, allocations: 23.3 kB / 1.279 GB, free: 31.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/1.142, allocations: 345.7 kB / 1.279 GB, free: 31.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/1.142, allocations: 99.38 kB / 1.279 GB, free: 31.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003755/1.146, allocations: 1.904 MB / 1.281 GB, free: 30.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002704/1.149, allocations: 1.802 MB / 1.283 GB, free: 30.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004552/1.153, allocations: 2.797 MB / 1.286 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.225e-05/1.153, allocations: 2.469 kB / 1.286 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006485/1.16, allocations: 3.496 MB / 1.289 GB, free: 27.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.16, allocations: 9.312 kB / 1.289 GB, free: 27.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.16, allocations: 11.97 kB / 1.289 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.16, allocations: 16.92 kB / 1.289 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.162, allocations: 446.3 kB / 1.289 GB, free: 27.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.162, allocations: 21.03 kB / 1.289 GB, free: 27.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/1.164, allocations: 303 kB / 1.29 GB, free: 27.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.164, allocations: 92.17 kB / 1.29 GB, free: 27.53 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.0003965/1.165, allocations: 260.9 kB / 1.29 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/1.165, allocations: 224.7 kB / 1.29 GB, free: 27.15 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/1.169, allocations: 1.168 MB / 1.291 GB, free: 26.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/1.169, allocations: 8.469 kB / 1.291 GB, free: 26.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.169, allocations: 0 / 1.291 GB, free: 26.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.169, allocations: 2.734 kB / 1.291 GB, free: 26.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/1.171, allocations: 1.386 MB / 1.293 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.171, allocations: 0.9375 kB / 1.293 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009911/1.172, allocations: 167 kB / 1.293 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.172, allocations: 3.531 kB / 1.293 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/1.172, allocations: 15.36 kB / 1.293 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.172, allocations: 2.953 kB / 1.293 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.172, allocations: 1.016 kB / 1.293 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/1.175, allocations: 1.248 MB / 1.294 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/1.176, allocations: 477.3 kB / 1.295 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/1.177, allocations: 10.11 kB / 1.295 GB, free: 25.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.178, allocations: 139.2 kB / 1.295 GB, free: 25.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.178, allocations: 24.66 kB / 1.295 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/1.178, allocations: 21.5 kB / 1.295 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004481/1.183, allocations: 2.53 MB / 1.297 GB, free: 24.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.183, allocations: 7.938 kB / 1.297 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003702/1.187, allocations: 0.9382 MB / 1.298 GB, free: 24.34 MB / 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.004204/1.191, allocations: 2.101 MB / 1.3 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008302/1.199, allocations: 4.11 MB / 1.304 GB, free: 21.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.199, allocations: 1.125 kB / 1.304 GB, free: 21.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.201, allocations: 481.5 kB / 1.305 GB, free: 21.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/1.205, allocations: 0.9456 MB / 1.306 GB, free: 21.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05369/1.259, allocations: 25.85 MB / 1.331 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/1.26, allocations: 1.649 MB / 1.333 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00262/1.262, allocations: 0.7558 MB / 1.333 GB, free: 120 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.264, allocations: 0.9092 MB / 1.334 GB, free: 15.21 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.264, allocations: 0 / 1.334 GB, free: 15.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/1.371, allocations: 66.84 MB / 1.399 GB, free: 13.14 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.88, allocations: 11.92 kB / 1.399 GB, free: 13.13 MB / 1.076 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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