Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,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_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,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_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008489/0.008489, allocations: 99.42 kB / 15.73 MB, free: 6.023 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.00191/0.00191, allocations: 190.2 kB / 16.67 MB, free: 5.957 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.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.296, allocations: 151.6 MB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006026/0.3021, allocations: 4.91 MB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009797/0.3119, allocations: 5.629 MB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.313, allocations: 23.94 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.3165, allocations: 1.288 MB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.3194, allocations: 1.296 MB / 1.179 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.3225, allocations: 1.543 MB / 1.181 GB, free: 8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.02478/0.3473, allocations: 17.06 MB / 1.198 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.3477, allocations: 168.4 kB / 1.198 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.3492, allocations: 0.8254 MB / 1.199 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.3504, allocations: 0.813 MB / 1.199 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.3506, allocations: 96 kB / 1.199 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.3525, allocations: 0.9282 MB / 1.2 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008715/0.3534, allocations: 0.9466 MB / 1.201 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.3545, allocations: 1.076 MB / 1.202 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004696/0.3592, allocations: 3.198 MB / 1.205 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3592, allocations: 0 / 1.205 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3592, allocations: 3.938 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.421e-05/0.3593, allocations: 0 / 1.205 GB, free: 14.83 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.005181/0.3645, allocations: 2.827 MB / 1.208 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3645, allocations: 8.031 kB / 1.208 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/0.37, allocations: 0.9622 MB / 1.209 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/0.3762, allocations: 4.327 MB / 1.213 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.3763, allocations: 44.58 kB / 1.213 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3764, allocations: 44 kB / 1.214 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.3788, allocations: 0.9349 MB / 1.214 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3789, allocations: 3.984 kB / 1.214 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3789, allocations: 16 kB / 1.214 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.379, allocations: 8 kB / 1.214 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.3825, allocations: 1.033 MB / 1.215 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/0.389, allocations: 3.11 MB / 1.218 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.3925, allocations: 1.117 MB / 1.22 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.394, allocations: 448.4 kB / 1.22 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.3941, allocations: 15.97 kB / 1.22 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3941, allocations: 38.56 kB / 1.22 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.3941, allocations: 0 / 1.22 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.005233/0.3994, allocations: 1.548 MB / 1.222 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3994, allocations: 67.2 kB / 1.222 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/0.4042, allocations: 3.342 MB / 1.225 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.4044, allocations: 37.7 kB / 1.225 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/0.4052, allocations: 0.8228 MB / 1.226 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4053, allocations: 150.9 kB / 1.226 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007856/0.4061, allocations: 0.5678 MB / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4062, allocations: 309.1 kB / 1.227 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/0.409, allocations: 1.502 MB / 1.228 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.4122, allocations: 1.954 MB / 1.23 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/0.4175, allocations: 3.086 MB / 1.233 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.4175, allocations: 4 kB / 1.233 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007312/0.4248, allocations: 3.795 MB / 1.237 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.4249, allocations: 12 kB / 1.237 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4249, allocations: 8 kB / 1.237 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.4249, allocations: 16 kB / 1.237 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.4268, allocations: 451.5 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.4268, allocations: 27.94 kB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.4293, allocations: 346.1 kB / 1.238 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.4295, allocations: 91.97 kB / 1.238 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003397/0.4329, allocations: 1.91 MB / 1.24 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002928/0.4358, allocations: 1.805 MB / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004988/0.4408, allocations: 2.799 MB / 1.244 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.584e-06/0.4409, allocations: 11.94 kB / 1.244 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006594/0.4475, allocations: 3.491 MB / 1.248 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4475, allocations: 8 kB / 1.248 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4475, allocations: 8 kB / 1.248 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4476, allocations: 16 kB / 1.248 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.4494, allocations: 443.5 kB / 1.248 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.4494, allocations: 16 kB / 1.248 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.4521, allocations: 304.6 kB / 1.248 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4523, allocations: 95.91 kB / 1.248 GB, free: 2.082 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.000401/0.4527, allocations: 259.7 kB / 1.249 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.4532, allocations: 234.3 kB / 1.249 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.4568, allocations: 1.175 MB / 1.25 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.4568, allocations: 4 kB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4568, allocations: 0 / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4568, allocations: 0 / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6545/1.111, allocations: 1.344 MB / 1.251 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.111, allocations: 0.5625 kB / 1.251 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.113, allocations: 167.3 kB / 1.251 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.113, allocations: 5.75 kB / 1.251 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/1.113, allocations: 15.27 kB / 1.251 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/1.113, allocations: 2.156 kB / 1.251 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.113, allocations: 0.875 kB / 1.251 GB, free: 79.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/1.117, allocations: 1.262 MB / 1.253 GB, free: 79.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.119, allocations: 467.9 kB / 1.253 GB, free: 78.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/1.119, allocations: 9.812 kB / 1.253 GB, free: 78.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.121, allocations: 142.7 kB / 1.253 GB, free: 78.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/1.121, allocations: 28.66 kB / 1.253 GB, free: 78.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/1.121, allocations: 20.05 kB / 1.253 GB, free: 78.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004777/1.126, allocations: 2.222 MB / 1.256 GB, free: 78.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.1e-07/1.126, allocations: 3.938 kB / 1.256 GB, free: 78.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003298/1.129, allocations: 0.9393 MB / 1.256 GB, free: 78.38 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.0009962/1.13, allocations: 409.1 kB / 1.257 GB, free: 78.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009324/1.14, allocations: 4.12 MB / 1.261 GB, free: 77.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/1.14, allocations: 0 / 1.261 GB, free: 77.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.141, allocations: 483 kB / 1.261 GB, free: 76.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.145, allocations: 0.9443 MB / 1.262 GB, free: 76.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/1.172, allocations: 6.486 MB / 1.269 GB, free: 74.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.173, allocations: 1.644 MB / 1.27 GB, free: 74.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003262/1.177, allocations: 0.757 MB / 1.271 GB, free: 73.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008254/1.178, allocations: 198 kB / 1.271 GB, free: 73.81 MB / 0.9981 GB Notification: Performance of SimCode: time 1.543e-06/1.178, allocations: 0 / 1.271 GB, free: 73.81 MB / 0.9981 GB Notification: Performance of Templates: time 0.08381/1.261, allocations: 47.21 MB / 1.317 GB, free: 52.07 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches