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: 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_latest_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_latest_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.001758/0.001758, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 62.97 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2876, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.007521/0.2951, allocations: 4.911 MB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3065, allocations: 5.632 MB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.3079, allocations: 27.88 kB / 1.079 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0187/0.3267, allocations: 11.23 MB / 1.089 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.3299, allocations: 1.202 MB / 1.091 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.3332, allocations: 1.528 MB / 1.092 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02313/0.3564, allocations: 15.5 MB / 1.107 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.3568, allocations: 168.4 kB / 1.107 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3582, allocations: 0.7631 MB / 1.108 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.3593, allocations: 0.7506 MB / 1.109 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.3596, allocations: 83.94 kB / 1.109 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.3623, allocations: 1.478 MB / 1.11 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009797/0.3633, allocations: 0.927 MB / 1.111 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.365, allocations: 1.049 MB / 1.112 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.3699, allocations: 3.543 MB / 1.116 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3699, allocations: 0 / 1.116 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3699, allocations: 0 / 1.116 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.654e-05/0.37, allocations: 4 kB / 1.116 GB, free: 9.539 MB / 0.8731 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.005877/0.3759, allocations: 2.732 MB / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.376, allocations: 8.031 kB / 1.119 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005561/0.3815, allocations: 0.9491 MB / 1.119 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006471/0.388, allocations: 4.208 MB / 1.124 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3882, allocations: 52.89 kB / 1.124 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.3884, allocations: 44 kB / 1.124 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.3906, allocations: 0.8958 MB / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3907, allocations: 0 / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.3908, allocations: 12 kB / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.3908, allocations: 12 kB / 1.125 GB, free: 496 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.3938, allocations: 0.9394 MB / 1.125 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/0.4002, allocations: 2.915 MB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.4034, allocations: 1.039 MB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4047, allocations: 400.5 kB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.4048, allocations: 15.98 kB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4048, allocations: 34.56 kB / 1.13 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.4048, allocations: 0 / 1.13 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=32): time 0.004603/0.4094, allocations: 1.424 MB / 1.131 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.4095, allocations: 59.41 kB / 1.131 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.4147, allocations: 3.185 MB / 1.134 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.4149, allocations: 37.7 kB / 1.134 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008547/0.4158, allocations: 0.8219 MB / 1.135 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.4159, allocations: 126.4 kB / 1.135 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008726/0.4168, allocations: 0.5756 MB / 1.136 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.4169, allocations: 313 kB / 1.136 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/0.4196, allocations: 1.483 MB / 1.138 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/0.4226, allocations: 1.942 MB / 1.139 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.4277, allocations: 3.063 MB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.4277, allocations: 4 kB / 1.142 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.006621/0.4344, allocations: 3.765 MB / 1.146 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.4344, allocations: 8 kB / 1.146 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.4345, allocations: 8 kB / 1.146 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.493e-05/0.4345, allocations: 20 kB / 1.146 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.4362, allocations: 435.6 kB / 1.147 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.904e-05/0.4363, allocations: 23.88 kB / 1.147 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.4388, allocations: 321.3 kB / 1.147 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.439, allocations: 103.9 kB / 1.147 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003477/0.4425, allocations: 1.89 MB / 1.149 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002966/0.4455, allocations: 1.809 MB / 1.151 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004758/0.4503, allocations: 2.776 MB / 1.153 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.003e-05/0.4503, allocations: 0 / 1.153 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.006301/0.4566, allocations: 3.473 MB / 1.157 GB, free: 14.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4566, allocations: 9.594 kB / 1.157 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.4567, allocations: 12 kB / 1.157 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.4567, allocations: 16 kB / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.4584, allocations: 419.4 kB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.502e-05/0.4584, allocations: 19.94 kB / 1.157 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.4607, allocations: 274.5 kB / 1.157 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.4608, allocations: 87.97 kB / 1.158 GB, free: 14 MB / 0.92 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 (210): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 5 * 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.0003621/0.4612, allocations: 263.6 kB / 1.158 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005176/0.4617, allocations: 220.9 kB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.465, allocations: 1.076 MB / 1.159 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4651, allocations: 4 kB / 1.159 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4651, allocations: 4 kB / 1.159 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4651, allocations: 3.938 kB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.467, allocations: 1.272 MB / 1.16 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4671, allocations: 0 / 1.16 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.468, allocations: 151.8 kB / 1.16 GB, free: 10.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.468, allocations: 8 kB / 1.16 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.468, allocations: 11.98 kB / 1.16 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.468, allocations: 3.938 kB / 1.16 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.468, allocations: 4 kB / 1.16 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.4711, allocations: 1.164 MB / 1.162 GB, free: 9.727 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007654/0.4718, allocations: 429.6 kB / 1.162 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/0.4722, allocations: 12 kB / 1.162 GB, free: 9.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.4735, allocations: 111.9 kB / 1.162 GB, free: 9.164 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.4736, allocations: 23.97 kB / 1.162 GB, free: 9.141 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.4736, allocations: 23.86 kB / 1.162 GB, free: 9.117 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003029/0.4767, allocations: 2.091 MB / 1.164 GB, free: 7.027 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4767, allocations: 0 / 1.164 GB, free: 7.027 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002684/0.4794, allocations: 1.011 MB / 1.165 GB, free: 6.016 MB / 0.92 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 (36): * Single equations (assignments): 36 * 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.001436/0.4808, allocations: 0.5036 MB / 1.166 GB, free: 5.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007798/0.4886, allocations: 4.091 MB / 1.17 GB, free: 1.41 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4887, allocations: 1.75 kB / 1.17 GB, free: 1.41 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.49, allocations: 431.7 kB / 1.17 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.4938, allocations: 0.9339 MB / 1.171 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/0.5224, allocations: 6.607 MB / 1.177 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.524, allocations: 1.65 MB / 1.179 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003151/0.5271, allocations: 0.7417 MB / 1.18 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/0.528, allocations: 199.3 kB / 1.18 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of SimCode: time 7.41e-07/0.528, allocations: 0 / 1.18 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.07844/0.6064, allocations: 47.5 MB / 1.226 GB, free: 7.828 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.makefile (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 & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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