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.001023/0.001023, allocations: 108 kB / 15.61 MB, free: 148 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.001031/0.001031, allocations: 196.6 kB / 16.53 MB, free: 6.656 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.285/2.285, allocations: 437 MB / 0.7104 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 63.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.5441, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002394/0.5466, allocations: 1.624 MB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006268/0.5472, allocations: 339.8 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.5473, allocations: 4 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.5473, allocations: 7.922 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.5474, allocations: 19.8 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.5477, allocations: 79.77 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.5479, allocations: 103.7 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.548, allocations: 35.97 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.5481, allocations: 43.84 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.5482, allocations: 47.77 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.5482, allocations: 8 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.5483, allocations: 35.97 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.5483, allocations: 15.98 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.5484, allocations: 39.75 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.5485, allocations: 117.8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5485, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5485, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5486, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 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.0005364/0.5491, allocations: 395.1 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5491, allocations: 12.03 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.5492, allocations: 38.73 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.5505, allocations: 172.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5506, allocations: 176.2 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5506, allocations: 12.28 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.5507, allocations: 8.312 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.5513, allocations: 170.1 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5513, allocations: 3.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5513, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5513, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008872/0.5522, allocations: 183.8 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.5534, allocations: 484.2 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.5545, allocations: 190.3 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.5548, allocations: 64.86 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.5548, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.5549, allocations: 30.56 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.508e-06/0.5549, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001123/0.556, allocations: 237.2 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.5561, allocations: 55.41 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5563, allocations: 187.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5563, allocations: 25.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.5564, allocations: 107.9 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.5564, allocations: 15.81 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.5565, allocations: 29.69 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5566, allocations: 322.8 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.557, allocations: 88.78 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.5575, allocations: 106.5 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.5583, allocations: 162.4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5583, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009579/0.5592, allocations: 221.4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5593, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5593, allocations: 3.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5593, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.5596, allocations: 43.94 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5596, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.56, allocations: 43.8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.56, allocations: 7.984 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002114/0.5602, allocations: 128.1 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001866/0.5604, allocations: 73.92 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002635/0.5607, allocations: 105.9 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-06/0.5607, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004268/0.5611, allocations: 137.3 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.5612, allocations: 9.094 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.5612, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.5612, allocations: 8.125 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.5613, allocations: 24.19 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5613, allocations: 8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.5616, allocations: 27.91 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5616, allocations: 7.984 kB / 1.024 GB, free: 11.61 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 9.52e-05/0.5617, allocations: 176.3 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.5617, allocations: 7.906 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.5618, allocations: 28.11 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5618, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5618, allocations: 3.938 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.5618, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.562, allocations: 209.6 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.562, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.5623, allocations: 35.95 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.5623, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5623, allocations: 3.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.5623, allocations: 3.984 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5623, allocations: 4.062 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.5631, allocations: 255.2 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.5631, allocations: 96.98 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.5632, allocations: 7.938 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.5634, allocations: 19.97 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.5635, allocations: 15.98 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.5635, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001811/0.5637, allocations: 154.7 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5637, allocations: 0 / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003303/0.564, allocations: 32 kB / 1.025 GB, free: 10.48 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.001012/0.565, allocations: 0.7942 MB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.5661, allocations: 211.7 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5661, allocations: 0.5625 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.5664, allocations: 63.92 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.5667, allocations: 8 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.5705, allocations: 1.91 MB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.5708, allocations: 0.6963 MB / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.571, allocations: 27.92 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.5711, allocations: 39.41 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.5711, allocations: 0 / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9171/1.488, allocations: 2.947 MB / 1.031 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.84, allocations: 21.95 kB / 1.031 GB, free: 3.719 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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