Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_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.005892/0.005892, allocations: 101.3 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.001421/0.001421, allocations: 187 kB / 16.67 MB, free: 5.922 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.556/2.556, allocations: 472.7 MB / 0.7453 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8211, allocations: 159.9 MB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.004095/0.8252, allocations: 1.617 MB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009877/0.8262, allocations: 343 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.8264, allocations: 0 / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.8265, allocations: 3.938 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.8267, allocations: 23.78 kB / 1.227 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.8272, allocations: 75.78 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.8274, allocations: 115.6 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.8276, allocations: 35.92 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.8277, allocations: 39.86 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.8278, allocations: 47.77 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.8279, allocations: 11.98 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.828, allocations: 31.98 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.8281, allocations: 23.92 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.8281, allocations: 43.8 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.8284, allocations: 115.2 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8284, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8284, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.407e-05/0.8285, allocations: 0 / 1.228 GB, free: 10.91 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.0007754/0.8293, allocations: 407 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.8293, allocations: 8.031 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.8294, allocations: 46.73 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.8308, allocations: 164.6 kB / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.8309, allocations: 176.3 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.8309, allocations: 8.375 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.831, allocations: 8.312 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.8316, allocations: 181.9 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.8316, allocations: 3.938 kB / 1.229 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.8317, allocations: 8 kB / 1.229 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.8317, allocations: 4 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000922/0.8326, allocations: 175.8 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.8338, allocations: 484.3 kB / 1.229 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.8349, allocations: 178.4 kB / 1.229 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.8353, allocations: 68.84 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.8353, allocations: 8 kB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.8353, allocations: 30.56 kB / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.905e-06/0.8354, allocations: 4 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.001182/0.8365, allocations: 225.3 kB / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.8366, allocations: 51.41 kB / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.8369, allocations: 194.1 kB / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.8369, allocations: 25.7 kB / 1.23 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.837, allocations: 112 kB / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.837, allocations: 11.95 kB / 1.23 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.8371, allocations: 29.69 kB / 1.23 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8372, allocations: 318.8 kB / 1.23 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.8376, allocations: 88.78 kB / 1.231 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.8381, allocations: 98.67 kB / 1.231 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007691/0.8389, allocations: 158.4 kB / 1.231 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8389, allocations: 0 / 1.231 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009838/0.8399, allocations: 225.4 kB / 1.231 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8399, allocations: 5.719 kB / 1.231 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8399, allocations: 3.938 kB / 1.231 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.84, allocations: 7.984 kB / 1.231 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.8403, allocations: 47.88 kB / 1.231 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.8403, allocations: 3.938 kB / 1.231 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.8407, allocations: 47.84 kB / 1.231 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.8407, allocations: 7.984 kB / 1.231 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002201/0.8409, allocations: 120.1 kB / 1.231 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001908/0.8411, allocations: 77.97 kB / 1.231 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002764/0.8414, allocations: 101.9 kB / 1.231 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.8414, allocations: 3.938 kB / 1.231 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004395/0.8419, allocations: 137.4 kB / 1.232 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.8419, allocations: 4 kB / 1.232 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.8419, allocations: 0 / 1.232 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.8419, allocations: 12.09 kB / 1.232 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.8421, allocations: 31.97 kB / 1.232 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.8421, allocations: 4 kB / 1.232 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.8423, allocations: 27.97 kB / 1.232 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.8423, allocations: 4 kB / 1.232 GB, free: 6.543 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 9.328e-05/0.8424, allocations: 180.8 kB / 1.232 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.8425, allocations: 7.953 kB / 1.232 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.8425, allocations: 16.19 kB / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8426, allocations: 0 / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.8426, allocations: 3.984 kB / 1.232 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8426, allocations: 4 kB / 1.232 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.8428, allocations: 205.6 kB / 1.232 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8428, allocations: 0 / 1.232 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.843, allocations: 35.94 kB / 1.232 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8431, allocations: 4 kB / 1.232 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.8431, allocations: 3.938 kB / 1.232 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8431, allocations: 320 / 1.232 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8431, allocations: 0 / 1.232 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.8439, allocations: 268.4 kB / 1.232 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.844, allocations: 97.03 kB / 1.232 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.844, allocations: 3.938 kB / 1.232 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.8443, allocations: 27.97 kB / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.8443, allocations: 7.984 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.8444, allocations: 0 / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002005/0.8446, allocations: 150.5 kB / 1.233 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8446, allocations: 0 / 1.233 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003563/0.8449, allocations: 32 kB / 1.233 GB, free: 5.422 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.00103/0.846, allocations: 0.7942 MB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.847, allocations: 212.1 kB / 1.234 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8471, allocations: 4 kB / 1.234 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.8474, allocations: 67.84 kB / 1.234 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.8477, allocations: 12.12 kB / 1.234 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.8518, allocations: 1.93 MB / 1.236 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.852, allocations: 0.7001 MB / 1.236 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000147/0.8522, allocations: 28.17 kB / 1.236 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.8523, allocations: 31.41 kB / 1.236 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.8523, allocations: 3.938 kB / 1.236 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.8722, allocations: 3.001 MB / 1.239 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.742, allocations: 12.17 kB / 1.239 GB, free: 14.61 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches