Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 108.3 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 216.2 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.656/1.656, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 67.89 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7713, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001734/0.773, allocations: 0.5289 MB / 1.279 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.7732, allocations: 23.95 kB / 1.279 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.7732, allocations: 0 / 1.279 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.7732, allocations: 7.938 kB / 1.279 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.7733, allocations: 4 kB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.526e-06/0.7733, allocations: 0 / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.06e-05/0.7734, allocations: 0 / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.7734, allocations: 5.891 kB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.7735, allocations: 3.938 kB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.389e-05/0.7735, allocations: 0 / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.7735, allocations: 4 kB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-06/0.7735, allocations: 0 / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.7735, allocations: 11.91 kB / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.7735, allocations: 0 / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 4.323e-05/0.7736, allocations: 4 kB / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7736, allocations: 0 / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7736, allocations: 0 / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7736, allocations: 7.938 kB / 1.279 GB, free: 12.77 MB / 0.9825 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.0003216/0.7739, allocations: 313.4 kB / 1.279 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.774, allocations: 8.031 kB / 1.279 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.774, allocations: 34.73 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.774, allocations: 0.9375 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.7742, allocations: 164.3 kB / 1.279 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.7742, allocations: 8.375 kB / 1.279 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.7742, allocations: 4.312 kB / 1.279 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.7743, allocations: 47.92 kB / 1.279 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7743, allocations: 3.938 kB / 1.279 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.7743, allocations: 3.984 kB / 1.279 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.7743, allocations: 0 / 1.279 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.7743, allocations: 4 kB / 1.279 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.7745, allocations: 154.5 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.7746, allocations: 37.16 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.7746, allocations: 17.83 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.7746, allocations: 4 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7746, allocations: 34.56 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7746, allocations: 0 / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.7748, allocations: 49.53 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.7748, allocations: 85.09 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.7749, allocations: 93.8 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.7749, allocations: 25.7 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.7749, allocations: 80.14 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.775, allocations: 8.328 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.775, allocations: 17.72 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7751, allocations: 314.8 kB / 1.28 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.7752, allocations: 0 / 1.28 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.7752, allocations: 17.7 kB / 1.28 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.7752, allocations: 17.72 kB / 1.28 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7752, allocations: 4.062 kB / 1.28 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.37e-05/0.7753, allocations: 37.64 kB / 1.28 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7753, allocations: 7.938 kB / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7753, allocations: 4 kB / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7753, allocations: 3.984 kB / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.7754, allocations: 4 kB / 1.28 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.7754, allocations: 0 / 1.28 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.7754, allocations: 0 / 1.28 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7754, allocations: 0 / 1.28 GB, free: 10.92 MB / 0.9825 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 8.81e-05/0.7755, allocations: 117.9 kB / 1.28 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.7755, allocations: 3.938 kB / 1.28 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.7756, allocations: 48.75 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7756, allocations: 3.938 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7756, allocations: 7.938 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7756, allocations: 0 / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.7757, allocations: 149.6 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7757, allocations: 4.062 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.7758, allocations: 8 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.7758, allocations: 7.938 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.7758, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7758, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7758, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.354e-05/0.7759, allocations: 65.98 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.7759, allocations: 89.12 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.7759, allocations: 3.938 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.776, allocations: 7.984 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.776, allocations: 7.938 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.776, allocations: 0 / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.776, allocations: 75.28 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.776, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001853/0.7762, allocations: 4 kB / 1.281 GB, free: 10.22 MB / 0.9825 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.0004303/0.7766, allocations: 0.6022 MB / 1.282 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.754e-05/0.7767, allocations: 11.94 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7767, allocations: 0 / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.7767, allocations: 8.156 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.7769, allocations: 6.391 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.7772, allocations: 119.5 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.7775, allocations: 0.6805 MB / 1.282 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.7775, allocations: 0 / 1.282 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.7775, allocations: 11.44 kB / 1.282 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.7775, allocations: 0 / 1.282 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.8021, allocations: 0.932 MB / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.857, allocations: 9.75 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_11_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.09589277789928]