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 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: "" <> 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.005033/0.005033, allocations: 100.4 kB / 15.73 MB, free: 6.012 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.001413/0.001413, allocations: 191.9 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.451/2.451, allocations: 482.6 MB / 0.755 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 65.73 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3135, allocations: 162.3 MB / 1.242 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.008912/0.3225, allocations: 4.93 MB / 1.247 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3361, allocations: 5.655 MB / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005503/0.3367, allocations: 31.88 kB / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.3405, allocations: 1.281 MB / 1.253 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.3426, allocations: 1.342 MB / 1.255 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.3454, allocations: 1.526 MB / 1.256 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01717/0.3625, allocations: 12.99 MB / 1.269 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.3629, allocations: 168.3 kB / 1.269 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.3646, allocations: 0.841 MB / 1.27 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.3659, allocations: 0.8052 MB / 1.271 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.3662, allocations: 96 kB / 1.271 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3685, allocations: 0.9204 MB / 1.272 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.3698, allocations: 0.9465 MB / 1.273 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.3712, allocations: 1.088 MB / 1.274 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004904/0.3761, allocations: 3.253 MB / 1.277 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3761, allocations: 0 / 1.277 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3762, allocations: 4 kB / 1.277 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.3762, allocations: 0 / 1.277 GB, free: 4.938 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.006704/0.3829, allocations: 2.851 MB / 1.28 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.383, allocations: 8.031 kB / 1.28 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.3831, allocations: 70.53 kB / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008267/0.3914, allocations: 0.9583 MB / 1.281 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.4014, allocations: 4.652 MB / 1.285 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.4015, allocations: 36.66 kB / 1.285 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.4017, allocations: 51.94 kB / 1.285 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/0.4052, allocations: 0.931 MB / 1.286 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4052, allocations: 4 kB / 1.286 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.4053, allocations: 15.94 kB / 1.286 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4053, allocations: 8 kB / 1.286 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.4086, allocations: 1.029 MB / 1.287 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006094/0.4147, allocations: 3.491 MB / 1.291 GB, free: 6.621 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.4182, allocations: 1.17 MB / 1.292 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.4197, allocations: 468.5 kB / 1.292 GB, free: 4.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.4197, allocations: 7.984 kB / 1.292 GB, free: 4.973 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4198, allocations: 42.5 kB / 1.292 GB, free: 4.922 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 1.894e-06/0.4198, allocations: 4 kB / 1.292 GB, free: 4.918 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.004977/0.4248, allocations: 1.626 MB / 1.294 GB, free: 3.285 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.4248, allocations: 55.41 kB / 1.294 GB, free: 3.219 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006075/0.4309, allocations: 3.73 MB / 1.298 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.431, allocations: 37.7 kB / 1.298 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.4322, allocations: 0.8424 MB / 1.298 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.4324, allocations: 142.9 kB / 1.299 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.4336, allocations: 0.5756 MB / 1.299 GB, free: 13.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4337, allocations: 305.1 kB / 1.299 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00448/0.4382, allocations: 1.522 MB / 1.301 GB, free: 12.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/0.4433, allocations: 1.985 MB / 1.303 GB, free: 9.902 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/0.4519, allocations: 3.13 MB / 1.306 GB, free: 6.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.4519, allocations: 4 kB / 1.306 GB, free: 6.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01084/0.4627, allocations: 3.846 MB / 1.31 GB, free: 2.797 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.4628, allocations: 8 kB / 1.31 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4628, allocations: 11.94 kB / 1.31 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.884e-05/0.4629, allocations: 20 kB / 1.31 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.4659, allocations: 451.4 kB / 1.31 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.443e-05/0.4659, allocations: 23.92 kB / 1.31 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.4693, allocations: 346.1 kB / 1.311 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.4696, allocations: 99.95 kB / 1.311 GB, free: 1.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003305/0.4729, allocations: 1.937 MB / 1.312 GB, free: 15.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002909/0.4758, allocations: 1.833 MB / 1.314 GB, free: 13.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004903/0.4808, allocations: 2.845 MB / 1.317 GB, free: 10.97 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.502e-06/0.4808, allocations: 4 kB / 1.317 GB, free: 10.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006211/0.487, allocations: 3.546 MB / 1.321 GB, free: 7.414 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.487, allocations: 8 kB / 1.321 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.487, allocations: 8 kB / 1.321 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4871, allocations: 16 kB / 1.321 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.4888, allocations: 451.5 kB / 1.321 GB, free: 6.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.4888, allocations: 27.92 kB / 1.321 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.4907, allocations: 300.6 kB / 1.321 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4909, allocations: 83.97 kB / 1.321 GB, free: 6.539 MB / 1.045 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.0004361/0.4913, allocations: 259.8 kB / 1.322 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.4918, allocations: 234.3 kB / 1.322 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005773/0.4976, allocations: 1.229 MB / 1.323 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4976, allocations: 4 kB / 1.323 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4977, allocations: 4 kB / 1.323 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4977, allocations: 3.984 kB / 1.323 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.5003, allocations: 1.418 MB / 1.324 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5003, allocations: 0 / 1.324 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.5019, allocations: 175.8 kB / 1.325 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.502, allocations: 4 kB / 1.325 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.502, allocations: 11.98 kB / 1.325 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5021, allocations: 3.938 kB / 1.325 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5021, allocations: 3.984 kB / 1.325 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00544/0.5075, allocations: 1.3 MB / 1.326 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.5086, allocations: 495.1 kB / 1.326 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/0.509, allocations: 7.984 kB / 1.326 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/0.5113, allocations: 135.8 kB / 1.327 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.5114, allocations: 23.97 kB / 1.327 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/0.5115, allocations: 23.98 kB / 1.327 GB, free: 1.117 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00531/0.5168, allocations: 2.517 MB / 1.329 GB, free: 14.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5168, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003351/0.5202, allocations: 0.9564 MB / 1.33 GB, free: 13.64 MB / 1.061 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.006827/0.527, allocations: 2.155 MB / 1.332 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01255/0.5396, allocations: 4.191 MB / 1.336 GB, free: 7.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5396, allocations: 5.75 kB / 1.336 GB, free: 7.266 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.5421, allocations: 0.4917 MB / 1.337 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/0.5468, allocations: 0.9443 MB / 1.338 GB, free: 5.852 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04328/0.5901, allocations: 23.7 MB / 1.361 GB, free: 13.74 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.5922, allocations: 1.65 MB / 1.362 GB, free: 12.06 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003871/0.5961, allocations: 0.7734 MB / 1.363 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/0.5983, allocations: 0.9093 MB / 1.364 GB, free: 10.37 MB / 1.092 GB Notification: Performance of SimCode: time 5.31e-07/0.5983, allocations: 0 / 1.364 GB, free: 10.37 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.095/2.694, allocations: 67.21 MB / 1.43 GB, free: 7.934 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.78/21.47, allocations: 15.7 kB / 1.43 GB, free: 7.922 MB / 1.154 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=400 --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