Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.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.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",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.008545/0.008545, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001521/0.001521, allocations: 199.4 kB / 16.68 MB, free: 5.93 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.91 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8524, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006807/0.8593, allocations: 4.878 MB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.87, allocations: 5.616 MB / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.8715, allocations: 23.88 kB / 1.218 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004036/0.8756, allocations: 1.28 MB / 1.219 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.8795, allocations: 1.315 MB / 1.22 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.8839, allocations: 1.54 MB / 1.222 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02365/0.9076, allocations: 14.67 MB / 1.236 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000538/0.9081, allocations: 168.4 kB / 1.236 GB, free: 4 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.91, allocations: 0.8176 MB / 1.237 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.9114, allocations: 0.7935 MB / 1.238 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003884/0.9118, allocations: 92 kB / 1.238 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.9139, allocations: 0.893 MB / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.915, allocations: 0.9232 MB / 1.24 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.9167, allocations: 1.045 MB / 1.241 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.9213, allocations: 3.106 MB / 1.244 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9213, allocations: 0 / 1.244 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9213, allocations: 0 / 1.244 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.761e-05/0.9214, allocations: 4 kB / 1.244 GB, free: 8.305 MB / 0.9669 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.006197/0.9276, allocations: 2.728 MB / 1.246 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.9277, allocations: 8.031 kB / 1.246 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.9278, allocations: 74.52 kB / 1.246 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.9311, allocations: 0.5941 MB / 1.247 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009845/0.941, allocations: 5.759 MB / 1.253 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.9411, allocations: 32.59 kB / 1.253 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.9413, allocations: 52 kB / 1.253 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.943, allocations: 0.6851 MB / 1.253 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.9431, allocations: 0 / 1.253 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.9431, allocations: 12 kB / 1.253 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.9432, allocations: 4 kB / 1.253 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.9452, allocations: 0.6505 MB / 1.254 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006748/0.952, allocations: 2.846 MB / 1.257 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.9545, allocations: 0.765 MB / 1.257 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009747/0.9555, allocations: 320.6 kB / 1.258 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.9556, allocations: 7.984 kB / 1.258 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.9557, allocations: 42.55 kB / 1.258 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.504e-06/0.9557, allocations: 0 / 1.258 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.004095/0.9598, allocations: 1.178 MB / 1.259 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.9598, allocations: 59.34 kB / 1.259 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006144/0.966, allocations: 3.462 MB / 1.262 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/0.9663, allocations: 41.7 kB / 1.262 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.9674, allocations: 0.8182 MB / 1.263 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.9677, allocations: 138.3 kB / 1.263 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009877/0.9687, allocations: 0.5715 MB / 1.264 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9688, allocations: 313 kB / 1.264 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.9712, allocations: 1.252 MB / 1.265 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.9742, allocations: 1.723 MB / 1.267 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/0.9788, allocations: 2.62 MB / 1.27 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.9789, allocations: 4 kB / 1.27 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006907/0.9858, allocations: 3.307 MB / 1.273 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.9859, allocations: 8 kB / 1.273 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.9859, allocations: 12 kB / 1.273 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.074e-05/0.986, allocations: 16 kB / 1.273 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.9879, allocations: 419.6 kB / 1.273 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.163e-05/0.9879, allocations: 23.92 kB / 1.273 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.9909, allocations: 318.4 kB / 1.274 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004698/0.9914, allocations: 108 kB / 1.274 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003756/0.9951, allocations: 1.73 MB / 1.275 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002916/0.9981, allocations: 1.644 MB / 1.277 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004422/1.003, allocations: 2.472 MB / 1.279 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.941e-05/1.003, allocations: 4 kB / 1.279 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006678/1.009, allocations: 3.142 MB / 1.283 GB, free: 15.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.009, allocations: 8 kB / 1.283 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.009, allocations: 11.98 kB / 1.283 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/1.009, allocations: 16.19 kB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.011, allocations: 407.5 kB / 1.283 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.743e-05/1.011, allocations: 19.94 kB / 1.283 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.014, allocations: 270.5 kB / 1.283 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/1.014, allocations: 91.97 kB / 1.283 GB, free: 14.69 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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.0005806/1.015, allocations: 263.7 kB / 1.284 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007977/1.016, allocations: 220.9 kB / 1.284 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/1.019, allocations: 0.9281 MB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.019, allocations: 4 kB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.019, allocations: 0 / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.019, allocations: 0 / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/1.022, allocations: 1.305 MB / 1.286 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.022, allocations: 0 / 1.286 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/1.023, allocations: 135.8 kB / 1.286 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/1.023, allocations: 0 / 1.286 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/1.023, allocations: 11.98 kB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.023, allocations: 8 kB / 1.286 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.023, allocations: 0 / 1.286 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/1.026, allocations: 0.9939 MB / 1.287 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.028, allocations: 421.8 kB / 1.288 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006479/1.028, allocations: 8 kB / 1.288 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.03, allocations: 123.8 kB / 1.288 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.03, allocations: 23.91 kB / 1.288 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.03, allocations: 31.97 kB / 1.288 GB, free: 10.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004636/1.035, allocations: 2.317 MB / 1.29 GB, free: 7.805 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.71e-07/1.035, allocations: 0 / 1.29 GB, free: 7.805 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003906/1.039, allocations: 0.9254 MB / 1.291 GB, free: 6.879 MB / 1.014 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.004061/1.043, allocations: 1.842 MB / 1.293 GB, free: 5.008 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007018/1.05, allocations: 3.548 MB / 1.296 GB, free: 1.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.05, allocations: 0 / 1.296 GB, free: 1.465 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.051, allocations: 349.5 kB / 1.296 GB, free: 1.125 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004933/1.056, allocations: 0.9316 MB / 1.297 GB, free: 220 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05326/1.109, allocations: 22.05 MB / 1.319 GB, free: 9.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/1.111, allocations: 1.646 MB / 1.321 GB, free: 8.07 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002977/1.114, allocations: 0.6913 MB / 1.321 GB, free: 7.375 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/1.116, allocations: 0.8585 MB / 1.322 GB, free: 6.516 MB / 1.045 GB Notification: Performance of SimCode: time 1.233e-06/1.116, allocations: 0 / 1.322 GB, free: 6.516 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.234, allocations: 64.1 MB / 1.385 GB, free: 7.168 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/15.16, allocations: 9.375 kB / 1.385 GB, free: 7.16 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches