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.002022/0.002022, allocations: 112.5 kB / 15.73 MB, free: 76 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.002553/0.002553, allocations: 191.3 kB / 16.66 MB, free: 6.582 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.934/2.934, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 60.05 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 151.6 MB / 1.166 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002969/0.3184, allocations: 1.625 MB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006829/0.3191, allocations: 339.9 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.3191, allocations: 0 / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.3192, allocations: 7.875 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.3193, allocations: 15.84 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.3196, allocations: 83.78 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3197, allocations: 111.6 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3199, allocations: 27.98 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.32, allocations: 47.84 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.3201, allocations: 43.83 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3201, allocations: 8 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.3202, allocations: 35.97 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.3202, allocations: 19.92 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.3203, allocations: 47.75 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.3205, allocations: 119.7 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3205, allocations: 0 / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3205, allocations: 0 / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5e-06/0.3205, allocations: 0 / 1.169 GB, free: 4.887 MB / 0.92 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.0006121/0.3211, allocations: 407 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3212, allocations: 12.03 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.3212, allocations: 34.75 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.3226, allocations: 176.5 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3228, allocations: 180.2 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3228, allocations: 12.38 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3228, allocations: 4.375 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.3235, allocations: 174.1 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3235, allocations: 3.938 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3235, allocations: 4 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3235, allocations: 4 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009703/0.3245, allocations: 179.8 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.3257, allocations: 484.1 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.3269, allocations: 186.4 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.3273, allocations: 68.8 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3273, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.3273, allocations: 42.55 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3273, allocations: 3.938 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.001208/0.3286, allocations: 221.4 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3286, allocations: 55.41 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3289, allocations: 184.4 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3289, allocations: 25.7 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.329, allocations: 115.9 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.329, allocations: 7.953 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.3291, allocations: 33.69 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3293, allocations: 318.8 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.3298, allocations: 92.7 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.3303, allocations: 102.5 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/0.3311, allocations: 150.4 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3311, allocations: 0 / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00104/0.3322, allocations: 221.4 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3322, allocations: 9.719 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3322, allocations: 3.938 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3322, allocations: 3.938 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.3326, allocations: 47.94 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3326, allocations: 0 / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.333, allocations: 43.88 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.333, allocations: 4 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002368/0.3332, allocations: 125 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002133/0.3335, allocations: 77.98 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002914/0.3338, allocations: 101.8 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.3338, allocations: 4 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004793/0.3343, allocations: 137.4 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3343, allocations: 8 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-06/0.3343, allocations: 0 / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-06/0.3343, allocations: 11.88 kB / 1.173 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.3345, allocations: 32.12 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.3345, allocations: 0 / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.3347, allocations: 32.03 kB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3347, allocations: 0 / 1.173 GB, free: 0.5234 MB / 0.92 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.0001175/0.3349, allocations: 180.3 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3349, allocations: 11.95 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.335, allocations: 20.17 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.335, allocations: 3.938 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.335, allocations: 0 / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.335, allocations: 0 / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3352, allocations: 209.6 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3353, allocations: 0 / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3355, allocations: 35.95 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3355, allocations: 0 / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.3355, allocations: 12.12 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3356, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3356, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/0.3364, allocations: 263.4 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.3365, allocations: 101 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.3366, allocations: 3.938 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.3369, allocations: 31.95 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.3369, allocations: 4 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3369, allocations: 7.984 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002045/0.3371, allocations: 145.9 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3371, allocations: 0 / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003538/0.3375, allocations: 32 kB / 1.174 GB, free: 15.38 MB / 0.9356 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.001173/0.3387, allocations: 0.7904 MB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.3398, allocations: 208.1 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3398, allocations: 4.125 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.3402, allocations: 67.86 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3405, allocations: 12 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.3449, allocations: 1.926 MB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3452, allocations: 0.6963 MB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000143/0.3454, allocations: 20 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.3455, allocations: 39.39 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.3455, allocations: 3.938 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.3693, allocations: 3 MB / 1.18 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.82, allocations: 10.42 kB / 1.18 GB, free: 8.586 MB / 0.9356 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