Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00143/0.00143, allocations: 116.2 kB / 16.42 MB, free: 6.477 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.001069/0.001069, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.394/2.394, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7725, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005767/0.7783, allocations: 4.883 MB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009488/0.7878, allocations: 5.628 MB / 1.178 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.7888, allocations: 27.88 kB / 1.178 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.7925, allocations: 1.276 MB / 1.179 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.7955, allocations: 1.304 MB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.7988, allocations: 1.544 MB / 1.182 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02174/0.8205, allocations: 14.66 MB / 1.196 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.8211, allocations: 172.4 kB / 1.196 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.8227, allocations: 0.8137 MB / 1.197 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.8239, allocations: 0.7896 MB / 1.198 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.8243, allocations: 92 kB / 1.198 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.8263, allocations: 0.8969 MB / 1.199 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.8273, allocations: 0.9193 MB / 1.2 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.829, allocations: 1.029 MB / 1.201 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.8332, allocations: 3.034 MB / 1.204 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8332, allocations: 4 kB / 1.204 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8332, allocations: 0 / 1.204 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.807e-05/0.8333, allocations: 0 / 1.204 GB, free: 14.7 MB / 0.9356 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.005576/0.8389, allocations: 2.757 MB / 1.206 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.839, allocations: 8.922 kB / 1.206 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.8422, allocations: 0.6034 MB / 1.207 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005297/0.8475, allocations: 2.975 MB / 1.21 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.8476, allocations: 36.59 kB / 1.21 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.8478, allocations: 55.98 kB / 1.21 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.8496, allocations: 0.6851 MB / 1.21 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8497, allocations: 0 / 1.21 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.8497, allocations: 12 kB / 1.21 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.8497, allocations: 4 kB / 1.21 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.8519, allocations: 0.6466 MB / 1.211 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005849/0.8578, allocations: 2.756 MB / 1.214 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.8601, allocations: 0.7648 MB / 1.215 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.8612, allocations: 320.5 kB / 1.215 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.8612, allocations: 11.94 kB / 1.215 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.8613, allocations: 38.56 kB / 1.215 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/0.8613, allocations: 0 / 1.215 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.003907/0.8652, allocations: 1.182 MB / 1.216 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.8653, allocations: 67.2 kB / 1.216 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/0.8709, allocations: 3.214 MB / 1.219 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.8711, allocations: 37.7 kB / 1.219 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009124/0.872, allocations: 0.8108 MB / 1.22 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.8722, allocations: 142.9 kB / 1.22 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009747/0.8732, allocations: 0.5834 MB / 1.221 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8733, allocations: 309.1 kB / 1.221 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.8755, allocations: 1.252 MB / 1.222 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.8782, allocations: 1.731 MB / 1.224 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/0.8824, allocations: 2.611 MB / 1.227 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.8825, allocations: 8 kB / 1.227 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005893/0.8884, allocations: 3.321 MB / 1.23 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.8884, allocations: 8.188 kB / 1.23 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.8885, allocations: 12 kB / 1.23 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.915e-05/0.8885, allocations: 16 kB / 1.23 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.8901, allocations: 415.5 kB / 1.23 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.01e-05/0.8902, allocations: 19.94 kB / 1.23 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.8924, allocations: 326.6 kB / 1.231 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.8927, allocations: 104 kB / 1.231 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003068/0.8957, allocations: 1.726 MB / 1.232 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002588/0.8983, allocations: 1.648 MB / 1.234 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004071/0.9024, allocations: 2.464 MB / 1.236 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/0.9024, allocations: 0 / 1.236 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005687/0.9081, allocations: 3.155 MB / 1.239 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9082, allocations: 8.188 kB / 1.239 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.9082, allocations: 12 kB / 1.239 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.9082, allocations: 16 kB / 1.239 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.9098, allocations: 403.4 kB / 1.24 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.453e-05/0.9098, allocations: 23.92 kB / 1.24 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.9121, allocations: 270.9 kB / 1.24 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.9123, allocations: 95.97 kB / 1.24 GB, free: 8.23 MB / 0.9669 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.0003828/0.9127, allocations: 255.8 kB / 1.24 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/0.9133, allocations: 230.3 kB / 1.241 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.9161, allocations: 0.9201 MB / 1.242 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.9161, allocations: 3.938 kB / 1.242 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.9161, allocations: 0 / 1.242 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008868/0.917, allocations: 427.2 kB / 1.242 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/0.9175, allocations: 7.984 kB / 1.242 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.9189, allocations: 115.8 kB / 1.242 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.919, allocations: 23.97 kB / 1.242 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002703/0.9217, allocations: 0.8443 MB / 1.243 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00253/0.9243, allocations: 1.082 MB / 1.244 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001009/0.9253, allocations: 344.3 kB / 1.244 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003494/0.9288, allocations: 2.121 MB / 1.246 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of Backend: time 5.31e-07/0.9288, allocations: 0 / 1.246 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007416/0.9362, allocations: 3.624 MB / 1.25 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of SimCode: time 0.008518/0.9448, allocations: 4.844 MB / 1.255 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of Templates: time 0.08216/1.027, allocations: 50.84 MB / 1.304 GB, free: 6.945 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches