Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PowerInterface,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.004499/0.004499, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.001265/0.001265, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7621, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002878/0.765, allocations: 1.615 MB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007243/0.7657, allocations: 339 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.7658, allocations: 4 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.7659, allocations: 3.938 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.262e-05/0.766, allocations: 19.78 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.7663, allocations: 87.77 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.7665, allocations: 103.6 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.7666, allocations: 43.92 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.855e-05/0.7667, allocations: 35.86 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.7668, allocations: 51.77 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.7668, allocations: 8 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.516e-05/0.7669, allocations: 35.97 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.7669, allocations: 19.92 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.767, allocations: 39.8 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.7672, allocations: 115.2 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7672, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7672, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.7672, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005756/0.7678, allocations: 411 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.7678, allocations: 8.031 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.7679, allocations: 42.73 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.7694, allocations: 160.7 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.7695, allocations: 176.3 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.7696, allocations: 16.25 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.7696, allocations: 16.31 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.7703, allocations: 167.5 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.7703, allocations: 3.938 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.7703, allocations: 8 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7703, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009873/0.7713, allocations: 183.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.7726, allocations: 476.3 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.7738, allocations: 194.4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.7742, allocations: 64.86 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.7742, allocations: 0 / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.7742, allocations: 34.5 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.7742, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.00125/0.7755, allocations: 221.4 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.7756, allocations: 59.39 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.7758, allocations: 198.1 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.7759, allocations: 25.7 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.776, allocations: 112 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.776, allocations: 3.953 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.7761, allocations: 33.69 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7762, allocations: 326.8 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.7767, allocations: 80.78 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.7772, allocations: 102.4 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.7781, allocations: 158.4 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7781, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001078/0.7792, allocations: 225.4 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7792, allocations: 4 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.7792, allocations: 7.938 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7792, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.7796, allocations: 47.88 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7796, allocations: 7.938 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.78, allocations: 47.84 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.7801, allocations: 7.984 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002443/0.7803, allocations: 120.1 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002167/0.7805, allocations: 82.12 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003085/0.7809, allocations: 105.8 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.7809, allocations: 0 / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004848/0.7814, allocations: 137.5 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.7814, allocations: 4 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7814, allocations: 4.188 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.7814, allocations: 3.938 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.7816, allocations: 24.19 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.7816, allocations: 15.88 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.7818, allocations: 23.95 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.7819, allocations: 4 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001167/0.782, allocations: 184.3 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.782, allocations: 7.953 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.7821, allocations: 20.17 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7821, allocations: 0 / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7821, allocations: 0 / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7821, allocations: 0 / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.7824, allocations: 209.6 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7824, allocations: 0 / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.7826, allocations: 31.95 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7826, allocations: 0 / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.7826, allocations: 3.938 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7827, allocations: 0 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.7827, allocations: 7.984 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/0.7835, allocations: 259.2 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.7836, allocations: 101 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.7837, allocations: 3.938 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.784, allocations: 24.03 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.784, allocations: 11.98 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.784, allocations: 4 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002233/0.7843, allocations: 147.2 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7843, allocations: 0 / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003653/0.7846, allocations: 40 kB / 1.228 GB, free: 10.01 MB / 0.9512 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 (3): * Single equations (assignments): 3 * 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.00123/0.7859, allocations: 0.7947 MB / 1.228 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.787, allocations: 199.7 kB / 1.229 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.787, allocations: 0.5625 kB / 1.229 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.7875, allocations: 75.84 kB / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.7878, allocations: 6.188 kB / 1.229 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.7923, allocations: 1.936 MB / 1.231 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.7927, allocations: 0.7002 MB / 1.231 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.7929, allocations: 24.17 kB / 1.231 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.793, allocations: 35.39 kB / 1.231 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.793, allocations: 0 / 1.231 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.8172, allocations: 2.991 MB / 1.234 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.664, allocations: 26.38 kB / 1.234 GB, free: 3.211 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches