Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.001005/0.001005, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0009458/0.0009458, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8804/0.8804, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.425e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001514/0.001538, allocations: 0.5477 MB / 0.951 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.001688, allocations: 31.83 kB / 0.951 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.001735, allocations: 3.938 kB / 0.951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.001765, allocations: 4 kB / 0.951 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.00191, allocations: 7.938 kB / 0.9511 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.086e-05/0.001961, allocations: 7.922 kB / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.00202, allocations: 11.98 kB / 0.9511 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.002059, allocations: 0 / 0.9511 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.00212, allocations: 15.94 kB / 0.9511 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.002187, allocations: 7.984 kB / 0.9511 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.00221, allocations: 0 / 0.9511 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.002218, allocations: 0 / 0.9511 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.002279, allocations: 4 kB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.002302, allocations: 7.922 kB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 6.782e-05/0.00237, allocations: 11.98 kB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.002373, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.333e-06/0.002375, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.002379, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003708/0.00275, allocations: 262.3 kB / 0.9514 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.002792, allocations: 12.03 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.002821, allocations: 30.75 kB / 0.9514 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.002842, allocations: 4.891 kB / 0.9514 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.002985, allocations: 113.8 kB / 0.9515 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.002994, allocations: 4.312 kB / 0.9515 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.003009, allocations: 384 / 0.9515 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.808e-05/0.003077, allocations: 34.25 kB / 0.9516 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.003085, allocations: 192 / 0.9516 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.003092, allocations: 384 / 0.9516 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.003099, allocations: 8.125 kB / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.003114, allocations: 4 kB / 0.9516 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.00325, allocations: 128.8 kB / 0.9517 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/0.00329, allocations: 22.59 kB / 0.9517 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.003309, allocations: 12.86 kB / 0.9517 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.003322, allocations: 0 / 0.9517 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.003342, allocations: 34.56 kB / 0.9518 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.003342, allocations: 0 / 0.9518 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.00348, allocations: 45.64 kB / 0.9518 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.003513, allocations: 55.34 kB / 0.9519 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.003579, allocations: 110 kB / 0.952 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.003588, allocations: 29.7 kB / 0.952 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.003618, allocations: 88.12 kB / 0.9521 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.003636, allocations: 7.938 kB / 0.9521 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.003658, allocations: 9.719 kB / 0.9521 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.003727, allocations: 318.8 kB / 0.9524 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.003738, allocations: 3.938 kB / 0.9524 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.003756, allocations: 17.7 kB / 0.9524 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.003786, allocations: 17.72 kB / 0.9524 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.003789, allocations: 8.062 kB / 0.9524 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.188e-05/0.003841, allocations: 53.58 kB / 0.9525 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.003854, allocations: 7.984 kB / 0.9525 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.003858, allocations: 0 / 0.9525 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.00387, allocations: 0 / 0.9525 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.003934, allocations: 7.938 kB / 0.9525 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.003939, allocations: 0 / 0.9525 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.003953, allocations: 4 kB / 0.9525 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.003958, allocations: 0 / 0.9525 GB, free: 1.203 MB / 0.9011 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 5.521e-05/0.004013, allocations: 119.8 kB / 0.9526 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.004019, allocations: 0 / 0.9526 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.004098, allocations: 57.08 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.0041, allocations: 0 / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.004104, allocations: 7.875 kB / 0.9527 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004107, allocations: 0 / 0.9527 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.607e-05/0.004183, allocations: 124.8 kB / 0.9528 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004184, allocations: 0 / 0.9528 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.004224, allocations: 4 kB / 0.9528 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.004225, allocations: 0 / 0.9528 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.004233, allocations: 4 kB / 0.9528 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.004234, allocations: 4.031 kB / 0.9528 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.004236, allocations: 3.938 kB / 0.9528 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.133e-05/0.004327, allocations: 84.98 kB / 0.9529 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.004345, allocations: 8.031 kB / 0.9529 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.004355, allocations: 256 / 0.9529 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.012e-05/0.004365, allocations: 7.984 kB / 0.9529 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.004376, allocations: 7.938 kB / 0.9529 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.004379, allocations: 0 / 0.9529 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.004411, allocations: 91.27 kB / 0.953 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.004411, allocations: 0 / 0.953 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001221/0.004533, allocations: 12.03 kB / 0.953 GB, free: 0.5977 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0002689/0.004802, allocations: 0.6008 MB / 0.9536 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.799e-05/0.00487, allocations: 15.94 kB / 0.9536 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.004872, allocations: 0 / 0.9536 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.004881, allocations: 7.984 kB / 0.9536 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.004993, allocations: 7.938 kB / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.005724, allocations: 1.153 MB / 0.9548 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.005768, allocations: 67.34 kB / 0.9548 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.005788, allocations: 0 / 0.9548 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.00582, allocations: 12.5 kB / 0.9548 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of SimCode: time 7.51e-07/0.005821, allocations: 3.938 kB / 0.9548 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.02125, allocations: 1.842 MB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.707, allocations: 15.84 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_11_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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: 10.675002311356366]