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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008986/0.008986, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.8 MB / 0.7121 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 8 kB / 0.8729 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7277, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005748/0.7335, allocations: 4.488 MB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.7446, allocations: 5.659 MB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.7462, allocations: 23.88 kB / 1.033 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01816/0.7644, allocations: 11.15 MB / 1.044 GB, free: 10.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.7678, allocations: 1.137 MB / 1.045 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.7722, allocations: 1.402 MB / 1.046 GB, free: 7.891 MB / 0.795 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02173/0.794, allocations: 15.85 MB / 1.062 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005571/0.7945, allocations: 160.4 kB / 1.062 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.796, allocations: 0.6692 MB / 1.063 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.7973, allocations: 0.8207 MB / 1.064 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.7976, allocations: 44 kB / 1.064 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.7999, allocations: 0.8734 MB / 1.064 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.801, allocations: 0.8724 MB / 1.065 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.8024, allocations: 1.007 MB / 1.066 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.8069, allocations: 2.946 MB / 1.069 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.807, allocations: 8 kB / 1.069 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.366e-06/0.807, allocations: 0 / 1.069 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001087/0.8071, allocations: 0 / 1.069 GB, free: 0.5703 MB / 0.8106 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.005487/0.8126, allocations: 2.359 MB / 1.071 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.8127, allocations: 8.031 kB / 1.071 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.8128, allocations: 70.53 kB / 1.072 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/0.8164, allocations: 0.6019 MB / 1.072 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.827, allocations: 5.689 MB / 1.078 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.8272, allocations: 45.02 kB / 1.078 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.8275, allocations: 44 kB / 1.078 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.8293, allocations: 0.6734 MB / 1.078 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.8294, allocations: 4 kB / 1.078 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.8294, allocations: 16 kB / 1.078 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.8295, allocations: 11.94 kB / 1.078 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.8316, allocations: 0.6232 MB / 1.079 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006642/0.8383, allocations: 2.722 MB / 1.082 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.8408, allocations: 0.7685 MB / 1.082 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009803/0.8418, allocations: 309.9 kB / 1.083 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.8418, allocations: 12.27 kB / 1.083 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.8419, allocations: 38.84 kB / 1.083 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.895e-06/0.8419, allocations: 3.938 kB / 1.083 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.003775/0.8457, allocations: 1.159 MB / 1.084 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.8457, allocations: 59.34 kB / 1.084 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00591/0.8516, allocations: 3.369 MB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.8519, allocations: 37.7 kB / 1.087 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/0.8528, allocations: 0.8299 MB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.853, allocations: 126.4 kB / 1.088 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004372/0.8534, allocations: 331.8 kB / 1.089 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8536, allocations: 301.1 kB / 1.089 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.8558, allocations: 1.234 MB / 1.09 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/0.8585, allocations: 1.71 MB / 1.092 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.863, allocations: 2.6 MB / 1.094 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.863, allocations: 4 kB / 1.094 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006368/0.8694, allocations: 3.284 MB / 1.097 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002976/0.8698, allocations: 360 kB / 1.098 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.8698, allocations: 8 kB / 1.098 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/0.8698, allocations: 23.92 kB / 1.098 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.8714, allocations: 407.5 kB / 1.098 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.005e-05/0.8715, allocations: 23.92 kB / 1.098 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.8738, allocations: 317.4 kB / 1.099 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.874, allocations: 104 kB / 1.099 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.8741, allocations: 4 kB / 1.099 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005009/0.8791, allocations: 2.893 MB / 1.101 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.8791, allocations: 8 kB / 1.102 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.8792, allocations: 16 kB / 1.102 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.8807, allocations: 403.6 kB / 1.102 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-05/0.8807, allocations: 23.92 kB / 1.102 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.8826, allocations: 250.4 kB / 1.102 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.8827, allocations: 87.97 kB / 1.102 GB, free: 13.96 MB / 0.8575 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.001125/0.8839, allocations: 0.7105 MB / 1.103 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.8843, allocations: 224.8 kB / 1.103 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.887, allocations: 0.9079 MB / 1.104 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.887, allocations: 7.938 kB / 1.104 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.887, allocations: 3.984 kB / 1.104 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.887, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.8888, allocations: 1.245 MB / 1.105 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8889, allocations: 3.984 kB / 1.105 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.8896, allocations: 127.8 kB / 1.105 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.8896, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.8896, allocations: 19.98 kB / 1.105 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.8897, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8897, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.892, allocations: 0.9912 MB / 1.106 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.8928, allocations: 405.8 kB / 1.107 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/0.8932, allocations: 8 kB / 1.107 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.8944, allocations: 103.9 kB / 1.107 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.8945, allocations: 19.97 kB / 1.107 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.8946, allocations: 27.98 kB / 1.107 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003421/0.898, allocations: 2.235 MB / 1.109 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.898, allocations: 7.938 kB / 1.109 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002588/0.9006, allocations: 0.9215 MB / 1.11 GB, free: 5.891 MB / 0.8575 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.003604/0.9042, allocations: 1.814 MB / 1.112 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006221/0.9104, allocations: 3.517 MB / 1.115 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9105, allocations: 0 / 1.115 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009454/0.9114, allocations: 340.1 kB / 1.116 GB, free: 208 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/0.9152, allocations: 0.8435 MB / 1.116 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05547/0.9707, allocations: 24.05 MB / 1.14 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.9724, allocations: 1.642 MB / 1.141 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002859/0.9753, allocations: 0.6758 MB / 1.142 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/0.9767, allocations: 0.8741 MB / 1.143 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of SimCode: time 1.162e-06/0.9768, allocations: 0 / 1.143 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.083, allocations: 60.66 MB / 1.202 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.083, allocations: 219 kB / 1.202 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/4.657, allocations: 2.656 kB / 1.202 GB, free: 6.684 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > 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