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.007152/0.007152, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001726/0.001726, allocations: 193.5 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.314/1.314, 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 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8584/0.8598, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003148/0.863, allocations: 1.634 MB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007395/0.8637, allocations: 327.9 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.8638, allocations: 4 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.8639, allocations: 11.88 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.864, allocations: 19.78 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.8644, allocations: 79.84 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.8646, allocations: 107.6 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.8648, allocations: 27.98 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.382e-05/0.8649, allocations: 47.84 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.865, allocations: 43.83 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.865, allocations: 8 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.8651, allocations: 35.86 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.8652, allocations: 19.97 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.8652, allocations: 47.73 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.8654, allocations: 107.3 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8654, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8654, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8655, allocations: 4 kB / 1.169 GB, free: 1.301 MB / 0.8887 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.0006071/0.8661, allocations: 407 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8661, allocations: 8.625 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.8662, allocations: 42.73 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.8675, allocations: 168.6 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.8678, allocations: 188.2 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.8678, allocations: 4.375 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.8679, allocations: 12.36 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.8685, allocations: 170 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8685, allocations: 7.938 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.8686, allocations: 4 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8686, allocations: 0 / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009713/0.8696, allocations: 179.8 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.8709, allocations: 488 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.872, allocations: 190.3 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.8724, allocations: 68.84 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.8725, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.8725, allocations: 34.56 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8725, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.001195/0.8737, allocations: 221.3 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.8738, allocations: 51.41 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.8741, allocations: 196.4 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.8741, allocations: 25.7 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.8742, allocations: 115.9 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.8742, allocations: 7.938 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.8743, allocations: 33.62 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8744, allocations: 322.8 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.8749, allocations: 88.78 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.8754, allocations: 106.5 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.8762, allocations: 154.4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8762, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001003/0.8772, allocations: 225.3 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8772, allocations: 8 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.8772, allocations: 3.938 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8773, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.8776, allocations: 39.94 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.8776, allocations: 8 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.8781, allocations: 35.89 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.8781, allocations: 7.984 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002336/0.8784, allocations: 124.1 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002122/0.8786, allocations: 77.97 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002864/0.8789, allocations: 101.8 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.104e-06/0.8789, allocations: 4 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004661/0.8794, allocations: 145.4 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.8794, allocations: 8 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.8794, allocations: 0 / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.8794, allocations: 7.938 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.8796, allocations: 27.91 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.8796, allocations: 0 / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.8799, allocations: 28.09 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8799, allocations: 7.938 kB / 1.173 GB, free: 12.92 MB / 0.9044 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.0001199/0.88, allocations: 180.3 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.8801, allocations: 7.953 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.8801, allocations: 24.17 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8801, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8802, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8802, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.8804, allocations: 201.6 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8804, allocations: 3.984 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.8807, allocations: 36.02 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8807, allocations: 4 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.8807, allocations: 7.938 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.8807, allocations: 3.938 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.8807, allocations: 320 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.8816, allocations: 259.3 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.8817, allocations: 97.03 kB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.8817, allocations: 3.938 kB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.882, allocations: 23.97 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.882, allocations: 7.984 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.8821, allocations: 4 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002026/0.8823, allocations: 146.1 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8823, allocations: 0 / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003739/0.8827, allocations: 36 kB / 1.174 GB, free: 11.8 MB / 0.9044 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.001129/0.8838, allocations: 0.7981 MB / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.8849, allocations: 207.7 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.885, allocations: 0 / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.8853, allocations: 72.47 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.8857, allocations: 16.67 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.89, allocations: 1.921 MB / 1.177 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.8903, allocations: 0.7002 MB / 1.177 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.8905, allocations: 23.98 kB / 1.177 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.8906, allocations: 39.39 kB / 1.177 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of SimCode: time 8.01e-07/0.8906, allocations: 0 / 1.177 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.9125, allocations: 3.003 MB / 1.18 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.854, allocations: 4.188 kB / 1.18 GB, free: 5 MB / 0.9044 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