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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008595/0.008596, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001583/0.001583, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.589/2.589, allocations: 469.4 MB / 0.7422 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.05 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7479, allocations: 159.1 MB / 1.22 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003096/0.7511, allocations: 1.624 MB / 1.221 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.7519, allocations: 323.1 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.752, allocations: 4 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.7521, allocations: 11.86 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/0.7522, allocations: 19.8 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.7525, allocations: 79.78 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.7527, allocations: 111.6 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.7529, allocations: 27.94 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.753, allocations: 51.84 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.7531, allocations: 39.84 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.7531, allocations: 8 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.7532, allocations: 35.97 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.7532, allocations: 27.84 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.89e-05/0.7533, allocations: 47.81 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.7535, allocations: 107.2 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7535, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7535, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7536, allocations: 0 / 1.222 GB, free: 15.88 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.0005949/0.7542, allocations: 411 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7542, allocations: 8.625 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.7543, allocations: 38.75 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.7557, allocations: 164.6 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.7559, allocations: 188.2 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.7559, allocations: 4.375 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.7559, allocations: 12.38 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.7566, allocations: 175.7 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7566, allocations: 3.938 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.7567, allocations: 4 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.7567, allocations: 3.984 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009685/0.7576, allocations: 183.8 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.7589, allocations: 476.3 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.76, allocations: 190.3 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.7604, allocations: 68.84 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.7604, allocations: 7.969 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.7605, allocations: 34.56 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.7605, allocations: 4 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.001217/0.7617, allocations: 221.3 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.7617, allocations: 51.41 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.762, allocations: 201.6 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.762, allocations: 25.7 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.7621, allocations: 112 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.7621, allocations: 3.953 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.7622, allocations: 29.69 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7623, allocations: 322.8 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.7628, allocations: 88.77 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.7633, allocations: 106.5 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.7641, allocations: 154.4 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7641, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001017/0.7652, allocations: 221.4 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.7652, allocations: 8 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7652, allocations: 3.938 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7652, allocations: 0 / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.7656, allocations: 43.92 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7656, allocations: 4.156 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.766, allocations: 47.78 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.766, allocations: 11.97 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002269/0.7663, allocations: 124.1 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001966/0.7665, allocations: 81.91 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002807/0.7668, allocations: 97.91 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/0.7668, allocations: 4 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004575/0.7672, allocations: 133.5 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.7673, allocations: 19.86 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.7673, allocations: 0 / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.7673, allocations: 7.938 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.7674, allocations: 19.98 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.7674, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.7677, allocations: 28.09 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.7677, allocations: 8.062 kB / 1.226 GB, free: 11.5 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.906e-05/0.7678, allocations: 180.8 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.7679, allocations: 11.94 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/0.7679, allocations: 16.19 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7679, allocations: 4 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7679, allocations: 3.938 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.768, allocations: 0 / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.7682, allocations: 205.6 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7682, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.7684, allocations: 31.95 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7684, allocations: 0 / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.7685, allocations: 15.92 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7685, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7685, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.7693, allocations: 255.3 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.7694, allocations: 97.05 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.7694, allocations: 3.938 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.7697, allocations: 31.95 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.7697, allocations: 0 / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.7698, allocations: 7.984 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001916/0.77, allocations: 147 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.77, allocations: 3.938 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000354/0.7703, allocations: 36 kB / 1.227 GB, free: 10.38 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.001068/0.7714, allocations: 0.7942 MB / 1.228 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.7725, allocations: 207.7 kB / 1.228 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7725, allocations: 0 / 1.228 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.7729, allocations: 68.77 kB / 1.228 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.7732, allocations: 16.52 kB / 1.228 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.7773, allocations: 1.943 MB / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.7776, allocations: 0.7002 MB / 1.231 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.7777, allocations: 19.98 kB / 1.231 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.7779, allocations: 39.41 kB / 1.231 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.7779, allocations: 0 / 1.231 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.797, allocations: 3 MB / 1.234 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.781, allocations: 15.14 kB / 1.234 GB, free: 3.566 MB / 0.9512 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