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.001521/0.001521, allocations: 102.7 kB / 16.27 MB, free: 5.902 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.001631/0.001631, allocations: 190.1 kB / 17.2 MB, free: 5.535 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.479/2.479, allocations: 437 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.97 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.007183/0.3542, allocations: 4.886 MB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3655, allocations: 5.62 MB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.367, allocations: 27.88 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0176/0.3847, allocations: 10.96 MB / 1.039 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003711/0.3884, allocations: 1.221 MB / 1.04 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.3923, allocations: 1.525 MB / 1.042 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02199/0.4143, allocations: 14.53 MB / 1.056 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.4149, allocations: 164.4 kB / 1.056 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.4166, allocations: 0.7669 MB / 1.057 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.4183, allocations: 0.7428 MB / 1.057 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005265/0.4189, allocations: 84 kB / 1.058 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4215, allocations: 0.8852 MB / 1.058 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.4228, allocations: 0.9037 MB / 1.059 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.4246, allocations: 1.014 MB / 1.06 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005099/0.4298, allocations: 2.923 MB / 1.063 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4298, allocations: 0 / 1.063 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4298, allocations: 0 / 1.063 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001123/0.4299, allocations: 4 kB / 1.063 GB, free: 12.3 MB / 0.8419 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.006772/0.4367, allocations: 2.628 MB / 1.066 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4368, allocations: 8.922 kB / 1.066 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.4403, allocations: 0.5981 MB / 1.066 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006181/0.4465, allocations: 2.907 MB / 1.069 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.4467, allocations: 56.88 kB / 1.069 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.447, allocations: 44 kB / 1.069 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.4488, allocations: 0.6773 MB / 1.07 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4488, allocations: 0 / 1.07 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.4489, allocations: 16 kB / 1.07 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4489, allocations: 8 kB / 1.07 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.451, allocations: 0.6037 MB / 1.07 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006264/0.4573, allocations: 2.632 MB / 1.073 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.4597, allocations: 0.7535 MB / 1.074 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009514/0.4607, allocations: 301.2 kB / 1.074 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.4607, allocations: 12.22 kB / 1.074 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4608, allocations: 30.84 kB / 1.074 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 3.336e-06/0.4608, allocations: 0 / 1.074 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.5345/0.9952, allocations: 1.138 MB / 1.075 GB, free: 61.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.9953, allocations: 56.98 kB / 1.075 GB, free: 61.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005302/1.001, allocations: 3.118 MB / 1.078 GB, free: 61.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002254/1.001, allocations: 38.39 kB / 1.078 GB, free: 61.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/1.002, allocations: 0.8056 MB / 1.079 GB, free: 60.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/1.002, allocations: 140.5 kB / 1.079 GB, free: 60.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007728/1.002, allocations: 0.5686 MB / 1.08 GB, free: 60.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/1.002, allocations: 305.7 kB / 1.08 GB, free: 59.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/1.005, allocations: 1.243 MB / 1.081 GB, free: 59.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/1.008, allocations: 1.703 MB / 1.083 GB, free: 58.72 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004604/1.012, allocations: 2.587 MB / 1.086 GB, free: 57.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/1.012, allocations: 7.031 kB / 1.086 GB, free: 57.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00643/1.019, allocations: 3.271 MB / 1.089 GB, free: 56.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/1.019, allocations: 8.875 kB / 1.089 GB, free: 56.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/1.019, allocations: 9.812 kB / 1.089 GB, free: 56.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.601e-05/1.019, allocations: 16.34 kB / 1.089 GB, free: 56.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.02, allocations: 401.8 kB / 1.089 GB, free: 56.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.512e-05/1.02, allocations: 23.7 kB / 1.089 GB, free: 56.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/1.022, allocations: 308.3 kB / 1.089 GB, free: 56.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/1.023, allocations: 108.1 kB / 1.09 GB, free: 56.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003092/1.026, allocations: 1.708 MB / 1.091 GB, free: 55.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0025/1.028, allocations: 1.638 MB / 1.093 GB, free: 54.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003934/1.032, allocations: 2.433 MB / 1.095 GB, free: 53.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.014e-05/1.032, allocations: 2.594 kB / 1.095 GB, free: 53.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005753/1.038, allocations: 3.103 MB / 1.098 GB, free: 52.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.038, allocations: 12.95 kB / 1.098 GB, free: 52.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.038, allocations: 8.812 kB / 1.098 GB, free: 52.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.038, allocations: 20.56 kB / 1.098 GB, free: 52.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/1.04, allocations: 404 kB / 1.099 GB, free: 52.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.722e-05/1.04, allocations: 27 kB / 1.099 GB, free: 52.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.042, allocations: 258.8 kB / 1.099 GB, free: 52.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/1.043, allocations: 89.31 kB / 1.099 GB, free: 52.6 MB / 0.8419 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 (207): * Single equations (assignments): 199 * 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.0005023/1.043, allocations: 257.8 kB / 1.099 GB, free: 52.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/1.044, allocations: 218.4 kB / 1.099 GB, free: 52.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/1.046, allocations: 0.8882 MB / 1.1 GB, free: 51.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.046, allocations: 3.781 kB / 1.1 GB, free: 51.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.046, allocations: 0.6562 kB / 1.1 GB, free: 51.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.047, allocations: 3.609 kB / 1.1 GB, free: 51.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/1.048, allocations: 1.22 MB / 1.102 GB, free: 51.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.048, allocations: 4 kB / 1.102 GB, free: 51.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/1.049, allocations: 128 kB / 1.102 GB, free: 51.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/1.049, allocations: 3.094 kB / 1.102 GB, free: 51.37 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/1.049, allocations: 15.19 kB / 1.102 GB, free: 51.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.049, allocations: 2.969 kB / 1.102 GB, free: 51.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.049, allocations: 0 / 1.102 GB, free: 51.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/1.051, allocations: 0.9694 MB / 1.103 GB, free: 50.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/1.052, allocations: 395.5 kB / 1.103 GB, free: 50.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/1.052, allocations: 9.094 kB / 1.103 GB, free: 50.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.053, allocations: 102 kB / 1.103 GB, free: 50.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/1.053, allocations: 24.75 kB / 1.103 GB, free: 50.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/1.053, allocations: 23.58 kB / 1.103 GB, free: 50.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003166/1.057, allocations: 2.043 MB / 1.105 GB, free: 49.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/1.057, allocations: 0 / 1.105 GB, free: 49.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002904/1.06, allocations: 0.9015 MB / 1.106 GB, free: 49.81 MB / 0.8419 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 (37): * Single equations (assignments): 37 * 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.0008865/1.06, allocations: 402.5 kB / 1.106 GB, free: 49.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006936/1.067, allocations: 3.507 MB / 1.11 GB, free: 48.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.067, allocations: 0 / 1.11 GB, free: 48.56 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.068, allocations: 340.3 kB / 1.11 GB, free: 48.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.072, allocations: 0.9316 MB / 1.111 GB, free: 48.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/1.089, allocations: 5.106 MB / 1.116 GB, free: 46.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.091, allocations: 1.63 MB / 1.118 GB, free: 45.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009335/1.092, allocations: 169.1 kB / 1.118 GB, free: 45.44 MB / 0.8419 GB Notification: Performance of SimCode: time 1.102e-06/1.092, allocations: 0 / 1.118 GB, free: 45.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.04855/1.14, allocations: 34.52 MB / 1.152 GB, free: 17.64 MB / 0.8419 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