Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",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.001451/0.001451, allocations: 108 kB / 15.6 MB, free: 132 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.001709/0.001709, allocations: 194 kB / 16.53 MB, free: 6.391 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.274/2.274, allocations: 390.2 MB / 0.6647 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5882/0.5897, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00156/0.5912, allocations: 0.5168 MB / 0.9502 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001029/0.5914, allocations: 18.88 kB / 0.9502 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.5914, allocations: 0 / 0.9502 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.5914, allocations: 0 / 0.9502 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.5916, allocations: 6.281 kB / 0.9502 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.5916, allocations: 0 / 0.9502 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.908e-05/0.5916, allocations: 14.77 kB / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.5917, allocations: 1.438 kB / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.5917, allocations: 5 kB / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.5918, allocations: 1.344 kB / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.5918, allocations: 1.312 kB / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.5918, allocations: 0 / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.5918, allocations: 3.984 kB / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.5918, allocations: 5.375 kB / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.971e-05/0.5919, allocations: 9.156 kB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5919, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5919, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.5919, allocations: 0 / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000207/0.5921, allocations: 311.7 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5921, allocations: 10.69 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.247e-05/0.5922, allocations: 34.75 kB / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.5922, allocations: 6.312 kB / 0.9506 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.405e-05/0.5923, allocations: 160.4 kB / 0.9508 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5923, allocations: 5.672 kB / 0.9508 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-06/0.5923, allocations: 4.375 kB / 0.9508 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/0.5924, allocations: 44.08 kB / 0.9508 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.5924, allocations: 3.938 kB / 0.9508 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.5924, allocations: 0 / 0.9508 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.5924, allocations: 1.344 kB / 0.9508 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.5924, allocations: 6.344 kB / 0.9508 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.5925, allocations: 156.8 kB / 0.951 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.871e-05/0.5926, allocations: 40.72 kB / 0.951 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.5926, allocations: 12.03 kB / 0.951 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.5926, allocations: 1.188 kB / 0.951 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.5926, allocations: 35.84 kB / 0.9511 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5926, allocations: 4 kB / 0.9511 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001227/0.5928, allocations: 47.47 kB / 0.9511 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.5928, allocations: 81.05 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.448e-05/0.5928, allocations: 91.23 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.5929, allocations: 35.02 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.092e-05/0.5929, allocations: 80.14 kB / 0.9514 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.5929, allocations: 11.2 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.5929, allocations: 17.28 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.109e-05/0.593, allocations: 310.8 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.593, allocations: 1.344 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.593, allocations: 16.53 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.593, allocations: 14.91 kB / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.593, allocations: 64 / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.479e-05/0.5931, allocations: 51.19 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5931, allocations: 9.031 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.5931, allocations: 0 / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.5931, allocations: 1.375 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.5932, allocations: 3.375 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5932, allocations: 0 / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.5932, allocations: 1.406 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.5932, allocations: 0.8438 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.481e-05/0.5933, allocations: 124 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.5933, allocations: 5.094 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.5934, allocations: 49.78 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5934, allocations: 0 / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5934, allocations: 1.25 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5934, allocations: 0 / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.294e-05/0.5935, allocations: 148.2 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5935, allocations: 1.188 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.5935, allocations: 10.52 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5935, allocations: 5.312 kB / 0.9521 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.5935, allocations: 5.156 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5935, allocations: 0 / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5935, allocations: 1.281 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.552e-05/0.5936, allocations: 66.55 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.5936, allocations: 78.89 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.5937, allocations: 9.5 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.621e-05/0.5937, allocations: 0 / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.5937, allocations: 9.078 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.5937, allocations: 1.281 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.5937, allocations: 80.47 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5937, allocations: 0 / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002043/0.5939, allocations: 6.625 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0002287/0.5942, allocations: 0.6095 MB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.5943, allocations: 18.2 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5943, allocations: 0 / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.5943, allocations: 7.969 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.5944, allocations: 8.375 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.5947, allocations: 126.3 kB / 0.9531 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.958e-05/0.5948, allocations: 0.6745 MB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.5948, allocations: 1.312 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.5948, allocations: 7.438 kB / 0.9538 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5948, allocations: 1.406 kB / 0.9538 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.6105, allocations: 0.8967 MB / 0.9547 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.905, allocations: 9.141 kB / 0.9547 GB, free: 4.246 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches