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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff1.eta|eff1.etaHyd|eff1.etaMot|eff2.eta|eff2.etaHyd|eff2.etaMot|eff3.eta|eff3.etaHyd|eff3.etaMot|eff4.eta|eff4.etaHyd|eff4.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff1.eta|eff1.etaHyd|eff1.etaMot|eff2.eta|eff2.etaHyd|eff2.etaMot|eff3.eta|eff3.etaHyd|eff3.etaMot|eff4.eta|eff4.etaHyd|eff4.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008808/0.008808, allocations: 99.84 kB / 15.73 MB, free: 6.02 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.002075/0.002075, allocations: 204.5 kB / 16.68 MB, free: 5.938 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.8 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.12 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3394, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005973/0.3454, allocations: 4.879 MB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009776/0.3552, allocations: 5.611 MB / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.3563, allocations: 27.88 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.3596, allocations: 1.289 MB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.3623, allocations: 1.299 MB / 1.221 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.3653, allocations: 1.55 MB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02046/0.3857, allocations: 14.67 MB / 1.236 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.3862, allocations: 172.4 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.388, allocations: 0.8098 MB / 1.237 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.389, allocations: 0.7896 MB / 1.238 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.3892, allocations: 92 kB / 1.238 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.3911, allocations: 0.8892 MB / 1.239 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008878/0.392, allocations: 0.9309 MB / 1.24 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.393, allocations: 1.021 MB / 1.241 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.3968, allocations: 3.021 MB / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3968, allocations: 0 / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3968, allocations: 0 / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.535e-05/0.3968, allocations: 4 kB / 1.244 GB, free: 4.453 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.004444/0.4013, allocations: 2.67 MB / 1.247 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4013, allocations: 8.625 kB / 1.247 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.4043, allocations: 0.5941 MB / 1.247 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6612/1.066, allocations: 2.953 MB / 1.25 GB, free: 38.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/1.066, allocations: 37.98 kB / 1.25 GB, free: 38.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.066, allocations: 44.97 kB / 1.25 GB, free: 38.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/1.067, allocations: 0.6905 MB / 1.251 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.067, allocations: 0 / 1.251 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/1.068, allocations: 12.25 kB / 1.251 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/1.068, allocations: 11.75 kB / 1.251 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/1.07, allocations: 0.6381 MB / 1.251 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005067/1.075, allocations: 2.757 MB / 1.254 GB, free: 37.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/1.077, allocations: 0.7658 MB / 1.255 GB, free: 37.81 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009378/1.078, allocations: 317.7 kB / 1.255 GB, free: 37.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/1.078, allocations: 9.188 kB / 1.255 GB, free: 37.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/1.078, allocations: 48.22 kB / 1.255 GB, free: 37.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/1.078, allocations: 0 / 1.255 GB, free: 37.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.003487/1.081, allocations: 1.176 MB / 1.256 GB, free: 37.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/1.081, allocations: 55.81 kB / 1.256 GB, free: 37.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/1.086, allocations: 3.211 MB / 1.26 GB, free: 37.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/1.086, allocations: 37.7 kB / 1.26 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000754/1.087, allocations: 0.8063 MB / 1.26 GB, free: 37.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/1.087, allocations: 144.4 kB / 1.26 GB, free: 36.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000939/1.088, allocations: 0.5747 MB / 1.261 GB, free: 36.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/1.088, allocations: 301.9 kB / 1.261 GB, free: 36.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002583/1.091, allocations: 1.256 MB / 1.263 GB, free: 36.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/1.093, allocations: 1.722 MB / 1.264 GB, free: 36.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004979/1.098, allocations: 2.624 MB / 1.267 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.098, allocations: 3.234 kB / 1.267 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006372/1.105, allocations: 3.296 MB / 1.27 GB, free: 34.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/1.105, allocations: 13.28 kB / 1.27 GB, free: 34.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/1.105, allocations: 13.44 kB / 1.27 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.685e-05/1.105, allocations: 15.62 kB / 1.27 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.106, allocations: 408.7 kB / 1.27 GB, free: 34.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/1.107, allocations: 25.5 kB / 1.27 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/1.109, allocations: 314.6 kB / 1.271 GB, free: 34.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/1.109, allocations: 104.5 kB / 1.271 GB, free: 34.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003268/1.112, allocations: 1.726 MB / 1.273 GB, free: 33.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002713/1.115, allocations: 1.655 MB / 1.274 GB, free: 32.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00421/1.119, allocations: 2.464 MB / 1.277 GB, free: 31.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/1.119, allocations: 2.25 kB / 1.277 GB, free: 31.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006172/1.125, allocations: 3.149 MB / 1.28 GB, free: 30.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.126, allocations: 8.25 kB / 1.28 GB, free: 30.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.126, allocations: 8.859 kB / 1.28 GB, free: 30.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.126, allocations: 20.44 kB / 1.28 GB, free: 30.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.127, allocations: 406.3 kB / 1.28 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/1.127, allocations: 23.55 kB / 1.28 GB, free: 30.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/1.13, allocations: 272.1 kB / 1.28 GB, free: 30.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/1.13, allocations: 94.66 kB / 1.28 GB, free: 30.29 MB / 0.9981 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.0005518/1.131, allocations: 252.5 kB / 1.281 GB, free: 30.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/1.131, allocations: 222.1 kB / 1.281 GB, free: 29.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/1.134, allocations: 0.9244 MB / 1.282 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.134, allocations: 3.625 kB / 1.282 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.134, allocations: 4.688 kB / 1.282 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.134, allocations: 4.844 kB / 1.282 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/1.136, allocations: 1.269 MB / 1.283 GB, free: 29.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.136, allocations: 1.312 kB / 1.283 GB, free: 29.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/1.137, allocations: 132.5 kB / 1.283 GB, free: 29.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.137, allocations: 3.297 kB / 1.283 GB, free: 29.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/1.137, allocations: 19.97 kB / 1.283 GB, free: 29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.137, allocations: 2.344 kB / 1.283 GB, free: 29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.137, allocations: 1.188 kB / 1.283 GB, free: 29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/1.139, allocations: 0.9902 MB / 1.284 GB, free: 28.56 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/1.14, allocations: 408.7 kB / 1.285 GB, free: 28.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/1.14, allocations: 15.44 kB / 1.285 GB, free: 28.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.142, allocations: 105.5 kB / 1.285 GB, free: 28.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/1.142, allocations: 26.86 kB / 1.285 GB, free: 28.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/1.142, allocations: 28.11 kB / 1.285 GB, free: 28.24 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003759/1.146, allocations: 2.114 MB / 1.287 GB, free: 27.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.146, allocations: 0 / 1.287 GB, free: 27.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004416/1.15, allocations: 0.9152 MB / 1.288 GB, free: 27.4 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.001208/1.151, allocations: 406.1 kB / 1.288 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007363/1.159, allocations: 3.543 MB / 1.292 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.159, allocations: 5.344 kB / 1.292 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.16, allocations: 345.9 kB / 1.292 GB, free: 26.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/1.164, allocations: 0.9359 MB / 1.293 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.177, allocations: 4.635 MB / 1.297 GB, free: 24.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/1.179, allocations: 1.646 MB / 1.299 GB, free: 23.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003205/1.182, allocations: 0.673 MB / 1.3 GB, free: 23.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/1.183, allocations: 161.2 kB / 1.3 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.183, allocations: 1.406 kB / 1.3 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of Templates: time 0.07155/1.254, allocations: 44.74 MB / 1.343 GB, free: 7.094 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (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 & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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