Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 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.001236/0.001236, allocations: 195.3 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.742 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 68.41 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4617, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.007524/0.4693, allocations: 4.904 MB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.4824, allocations: 5.616 MB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.4845, allocations: 27.88 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01977/0.5044, allocations: 10.97 MB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.5084, allocations: 1.214 MB / 1.086 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.5126, allocations: 1.53 MB / 1.087 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02266/0.5353, allocations: 14.5 MB / 1.102 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007563/0.5361, allocations: 172.4 kB / 1.102 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.5381, allocations: 0.7669 MB / 1.102 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.5399, allocations: 0.7506 MB / 1.103 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.5404, allocations: 84 kB / 1.103 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.5428, allocations: 0.8736 MB / 1.104 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.5441, allocations: 0.8998 MB / 1.105 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.5464, allocations: 1.045 MB / 1.106 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.5514, allocations: 2.99 MB / 1.109 GB, free: 104 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5515, allocations: 0 / 1.109 GB, free: 104 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5515, allocations: 0 / 1.109 GB, free: 104 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001144/0.5516, allocations: 0 / 1.109 GB, free: 104 kB / 0.8575 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.006883/0.5585, allocations: 2.706 MB / 1.112 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5586, allocations: 15.97 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.5587, allocations: 62.48 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.5623, allocations: 0.6019 MB / 1.112 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.5733, allocations: 5.7 MB / 1.118 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.5735, allocations: 49 kB / 1.118 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.5738, allocations: 44 kB / 1.118 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.5757, allocations: 0.6734 MB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5758, allocations: 0 / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.5758, allocations: 16 kB / 1.119 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5759, allocations: 8 kB / 1.119 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.5781, allocations: 0.6114 MB / 1.119 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007171/0.5853, allocations: 2.738 MB / 1.122 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.5877, allocations: 0.7513 MB / 1.123 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.5888, allocations: 301.2 kB / 1.123 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.5888, allocations: 8.281 kB / 1.123 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.5889, allocations: 34.84 kB / 1.123 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.026e-06/0.5889, allocations: 0 / 1.123 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.004053/0.5929, allocations: 1.145 MB / 1.124 GB, free: 408 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.593, allocations: 59.41 kB / 1.124 GB, free: 336 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006779/0.5998, allocations: 3.372 MB / 1.127 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.6001, allocations: 41.7 kB / 1.127 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.6013, allocations: 0.8183 MB / 1.128 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.6016, allocations: 138.3 kB / 1.128 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/0.6029, allocations: 0.5714 MB / 1.129 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.603, allocations: 305.1 kB / 1.129 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/0.6054, allocations: 1.241 MB / 1.13 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/0.6082, allocations: 1.702 MB / 1.132 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/0.6127, allocations: 2.589 MB / 1.135 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.6127, allocations: 0 / 1.135 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006537/0.6193, allocations: 3.279 MB / 1.138 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.6194, allocations: 8 kB / 1.138 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.6194, allocations: 8 kB / 1.138 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-05/0.6195, allocations: 16 kB / 1.138 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.6213, allocations: 411.6 kB / 1.138 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.331e-05/0.6213, allocations: 23.92 kB / 1.138 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.6238, allocations: 310.5 kB / 1.139 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.6241, allocations: 104 kB / 1.139 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003206/0.6273, allocations: 1.715 MB / 1.14 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002597/0.6299, allocations: 1.628 MB / 1.142 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004321/0.6343, allocations: 2.429 MB / 1.144 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-05/0.6343, allocations: 4 kB / 1.144 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.006245/0.6406, allocations: 3.114 MB / 1.147 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6406, allocations: 8 kB / 1.147 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.6407, allocations: 12.19 kB / 1.147 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.6407, allocations: 16 kB / 1.147 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.6424, allocations: 399.4 kB / 1.148 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.677e-05/0.6424, allocations: 19.94 kB / 1.148 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.6453, allocations: 258.6 kB / 1.148 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.6456, allocations: 91.91 kB / 1.148 GB, free: 7.125 MB / 0.9044 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.0006207/0.6462, allocations: 255.8 kB / 1.148 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008581/0.6471, allocations: 225 kB / 1.149 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.6504, allocations: 0.8976 MB / 1.149 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6505, allocations: 4 kB / 1.149 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6505, allocations: 4 kB / 1.149 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.6505, allocations: 3.938 kB / 1.149 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.6537, allocations: 1.257 MB / 1.151 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6537, allocations: 0 / 1.151 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.6545, allocations: 127.8 kB / 1.151 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.6546, allocations: 4 kB / 1.151 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.6546, allocations: 8 kB / 1.151 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.6546, allocations: 0 / 1.151 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6546, allocations: 0 / 1.151 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.6575, allocations: 0.9832 MB / 1.152 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6587, allocations: 413.7 kB / 1.152 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006467/0.6594, allocations: 8 kB / 1.152 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.6609, allocations: 95.88 kB / 1.152 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.661, allocations: 27.91 kB / 1.152 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.6611, allocations: 23.98 kB / 1.152 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003912/0.665, allocations: 2.239 MB / 1.154 GB, free: 468 kB / 0.9044 GB Notification: Performance of sort global known variables: time 4.11e-07/0.665, allocations: 4 kB / 1.154 GB, free: 464 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003478/0.6685, allocations: 0.9099 MB / 1.155 GB, free: 15.54 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 (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.003787/0.6723, allocations: 1.806 MB / 1.157 GB, free: 13.71 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006997/0.6793, allocations: 3.512 MB / 1.161 GB, free: 10.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6794, allocations: 0 / 1.161 GB, free: 10.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.6804, allocations: 340.8 kB / 1.161 GB, free: 9.867 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/0.6848, allocations: 0.9365 MB / 1.162 GB, free: 8.953 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04889/0.7337, allocations: 23.6 MB / 1.185 GB, free: 116 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.7352, allocations: 1.642 MB / 1.186 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002916/0.7381, allocations: 0.6836 MB / 1.187 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.7394, allocations: 0.8702 MB / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/0.7394, allocations: 0 / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6403/1.38, allocations: 62.85 MB / 1.249 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.317/10.7, allocations: 8.375 kB / 1.249 GB, free: 174.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches