Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_10_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.00156/0.00156, 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.001664/0.001664, allocations: 196.6 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.653/2.653, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7049, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.004061/0.709, allocations: 1.632 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.71, allocations: 334 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.7102, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.506e-05/0.7103, allocations: 11.86 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.7104, allocations: 23.8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.7109, allocations: 75.73 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.7111, allocations: 115.6 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.7113, allocations: 27.98 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.7114, allocations: 39.86 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.7116, allocations: 55.75 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.7116, allocations: 4 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.7118, allocations: 31.98 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.7118, allocations: 19.92 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.7119, allocations: 51.72 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.7122, allocations: 109.9 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7122, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7122, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.7122, allocations: 4 kB / 1.02 GB, free: 12 kB / 0.7637 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.0007646/0.713, allocations: 401 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.713, allocations: 12.03 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.7131, allocations: 38.73 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.7146, allocations: 168.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.7147, allocations: 177.4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.7147, allocations: 12.28 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.7148, allocations: 4.375 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.7155, allocations: 178 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.7155, allocations: 3.938 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.7155, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7155, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.7164, allocations: 179.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.7177, allocations: 492.2 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.7188, allocations: 182.3 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.7191, allocations: 68.84 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.7192, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.7192, allocations: 38.56 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.7192, allocations: 3.938 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001168/0.7204, allocations: 221.3 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.7204, allocations: 51.41 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.7207, allocations: 197.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.7208, allocations: 25.7 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.7209, allocations: 111.9 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.7209, allocations: 11.81 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.721, allocations: 29.69 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7211, allocations: 322.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.7215, allocations: 88.78 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.7221, allocations: 110.5 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.7228, allocations: 154.4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7229, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009645/0.7238, allocations: 221.4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7238, allocations: 7.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7239, allocations: 3.938 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.7239, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.7242, allocations: 43.94 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.7242, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.7246, allocations: 43.8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.7247, allocations: 11.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000231/0.7249, allocations: 124.1 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001868/0.7251, allocations: 77.97 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002789/0.7254, allocations: 105.8 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.7254, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004369/0.7258, allocations: 137.5 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7259, allocations: 8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.7259, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.7259, allocations: 7.938 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.726, allocations: 27.91 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.7261, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.7263, allocations: 32.09 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.7263, allocations: 4.312 kB / 1.024 GB, free: 11.64 MB / 0.7794 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.0001059/0.7264, allocations: 176.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.7265, allocations: 7.906 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.7265, allocations: 16.19 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.7266, allocations: 7.938 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7266, allocations: 3.984 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7266, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.7268, allocations: 201.6 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7268, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.7271, allocations: 35.94 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7271, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.7271, allocations: 11.94 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7271, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7271, allocations: 3.938 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.7279, allocations: 259.4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.728, allocations: 101 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.7281, allocations: 7.938 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.7283, allocations: 23.97 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.7284, allocations: 7.984 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.7284, allocations: 0 / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001929/0.7286, allocations: 150.1 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7286, allocations: 0 / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003662/0.729, allocations: 32 kB / 1.025 GB, free: 10.53 MB / 0.7794 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.001075/0.7301, allocations: 0.798 MB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.7312, allocations: 207.7 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7312, allocations: 0 / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.7315, allocations: 72.47 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.7319, allocations: 12.88 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.7362, allocations: 1.91 MB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.7365, allocations: 0.6963 MB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.7367, allocations: 20 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.7369, allocations: 39.39 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of SimCode: time 7.32e-07/0.7369, allocations: 0 / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.7589, allocations: 2.952 MB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.516, allocations: 13.52 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches