Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_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.006951/0.006951, allocations: 103.3 kB / 15.73 MB, free: 6.035 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.001263/0.001263, allocations: 198.9 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.97 kB / 0.9504 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2324, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002601/0.2351, allocations: 1.61 MB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006244/0.2357, allocations: 305.4 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.2358, allocations: 0 / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.2359, allocations: 11.86 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.2359, allocations: 15.86 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.2363, allocations: 79.78 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.2364, allocations: 103.6 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2365, allocations: 31.97 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.2366, allocations: 43.83 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.2367, allocations: 47.78 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2367, allocations: 8 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.2368, allocations: 31.92 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.2368, allocations: 15.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.2369, allocations: 47.72 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.2371, allocations: 102.5 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2371, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2371, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2371, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 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.0005381/0.2376, allocations: 409.8 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2377, allocations: 20.02 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.2377, allocations: 38.75 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.2388, allocations: 120.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2389, allocations: 172.2 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2389, allocations: 8.375 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.239, allocations: 4.375 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.2395, allocations: 158 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2395, allocations: 3.938 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2396, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2396, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.2403, allocations: 157.1 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.2413, allocations: 448.3 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.2421, allocations: 138.4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.2425, allocations: 76.91 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2425, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2425, allocations: 34.56 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 2.294e-06/0.2425, allocations: 3.984 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001267/0.2438, allocations: 249.2 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2438, allocations: 51.41 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.244, allocations: 160.9 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.244, allocations: 25.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.2441, allocations: 100 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.2441, allocations: 23.66 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2442, allocations: 21.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.2443, allocations: 322.8 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.2447, allocations: 76.78 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.2451, allocations: 71.92 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.2458, allocations: 136.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2458, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008156/0.2467, allocations: 189.5 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2467, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2467, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2467, allocations: 11.92 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.247, allocations: 39.95 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.247, allocations: 4.188 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.2472, allocations: 27.88 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.2473, allocations: 11.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000143/0.2474, allocations: 108.1 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00011/0.2475, allocations: 56.27 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001941/0.2477, allocations: 84.14 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.2478, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002553/0.248, allocations: 109.5 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.248, allocations: 8 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.248, allocations: 3.938 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/0.248, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.2481, allocations: 23.92 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2481, allocations: 3.938 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.2482, allocations: 7.938 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2482, allocations: 7.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.803e-05/0.2483, allocations: 184.4 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.2484, allocations: 11.91 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.2484, allocations: 8.312 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2484, allocations: 7.938 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2485, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2485, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2496, allocations: 479.9 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2496, allocations: 4 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.2498, allocations: 35.95 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2498, allocations: 4 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2499, allocations: 7.984 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2499, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2499, allocations: 4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.2507, allocations: 285 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.2508, allocations: 93 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.2508, allocations: 4 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.2511, allocations: 27.97 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.2511, allocations: 11.92 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.2512, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.433e-05/0.2512, allocations: 121.3 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2513, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003304/0.2516, allocations: 32 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001112/0.2527, allocations: 0.8233 MB / 1.095 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009361/0.2537, allocations: 183.7 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2537, allocations: 0 / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.2541, allocations: 80.28 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.2544, allocations: 15.94 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.2582, allocations: 1.893 MB / 1.098 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2584, allocations: 0.6929 MB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.599e-05/0.2585, allocations: 15.92 kB / 1.098 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.2586, allocations: 35.41 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.2586, allocations: 0 / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.2774, allocations: 2.764 MB / 1.101 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.684, allocations: 10.03 kB / 1.101 GB, free: 3.668 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches