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.000762/0.000762, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007926/0.0007926, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.644/1.644, allocations: 359 MB / 0.6037 GB, free: 11.1 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.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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.754e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001768/0.001796, allocations: 0.5448 MB / 0.951 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.001932, allocations: 11.92 kB / 0.951 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.001963, allocations: 0 / 0.951 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.001985, allocations: 0 / 0.951 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.002159, allocations: 7.938 kB / 0.951 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-06/0.002164, allocations: 0 / 0.951 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.002231, allocations: 7.984 kB / 0.951 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.002278, allocations: 0 / 0.951 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.053e-05/0.002338, allocations: 7.938 kB / 0.951 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.002383, allocations: 4 kB / 0.951 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.002402, allocations: 0 / 0.951 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.002409, allocations: 0 / 0.951 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.002423, allocations: 0 / 0.951 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.002439, allocations: 4 kB / 0.951 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 6.169e-05/0.002501, allocations: 0 / 0.951 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.002503, allocations: 0 / 0.951 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.715e-06/0.002506, allocations: 3.984 kB / 0.9511 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.002511, allocations: 0 / 0.9511 GB, free: 2.914 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003078/0.002819, allocations: 250.3 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.002867, allocations: 8.031 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.002902, allocations: 34.75 kB / 0.9513 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.002925, allocations: 4.875 kB / 0.9513 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.003017, allocations: 109.8 kB / 0.9514 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.00303, allocations: 384 / 0.9514 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.003038, allocations: 384 / 0.9514 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.003147, allocations: 47.92 kB / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.003156, allocations: 192 / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.003166, allocations: 384 / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.003173, allocations: 4.125 kB / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.003194, allocations: 4 kB / 0.9515 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.003343, allocations: 137.6 kB / 0.9516 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.003398, allocations: 37.22 kB / 0.9517 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.00342, allocations: 9.719 kB / 0.9517 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.003445, allocations: 4.062 kB / 0.9517 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.003469, allocations: 34.56 kB / 0.9517 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.00347, allocations: 0 / 0.9517 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.003616, allocations: 45.62 kB / 0.9518 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.00366, allocations: 81.05 kB / 0.9518 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.003714, allocations: 102 kB / 0.9519 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.003725, allocations: 25.7 kB / 0.9519 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.264e-05/0.003747, allocations: 84.14 kB / 0.952 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.003773, allocations: 3.953 kB / 0.952 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.003804, allocations: 17.7 kB / 0.9521 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.003896, allocations: 314.8 kB / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.003907, allocations: 0 / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.003924, allocations: 13.72 kB / 0.9524 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.003956, allocations: 13.91 kB / 0.9524 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.003958, allocations: 4 kB / 0.9524 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.587e-05/0.004024, allocations: 49.62 kB / 0.9524 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.004037, allocations: 4 kB / 0.9524 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.004042, allocations: 0 / 0.9524 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.004056, allocations: 3.984 kB / 0.9524 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.004129, allocations: 7.938 kB / 0.9524 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.004135, allocations: 0 / 0.9524 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.004151, allocations: 8 kB / 0.9525 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.004158, allocations: 0 / 0.9525 GB, free: 1.246 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 6.279e-05/0.004221, allocations: 113.9 kB / 0.9526 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.004229, allocations: 7.938 kB / 0.9526 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.004332, allocations: 56.52 kB / 0.9526 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.004334, allocations: 0 / 0.9526 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.004339, allocations: 7.875 kB / 0.9526 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.004342, allocations: 0 / 0.9526 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.773e-05/0.00442, allocations: 120.8 kB / 0.9527 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.004421, allocations: 0 / 0.9527 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.004446, allocations: 7.938 kB / 0.9528 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004447, allocations: 4.062 kB / 0.9528 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.004456, allocations: 7.984 kB / 0.9528 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004457, allocations: 0 / 0.9528 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.004459, allocations: 3.938 kB / 0.9528 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.74e-05/0.004527, allocations: 66 kB / 0.9528 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.004563, allocations: 3.984 kB / 0.9528 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.004572, allocations: 0 / 0.9528 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.004584, allocations: 0 / 0.9528 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.004598, allocations: 7.938 kB / 0.9528 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.004601, allocations: 0 / 0.9528 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.004626, allocations: 79.31 kB / 0.9529 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.004626, allocations: 0 / 0.9529 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002117/0.004838, allocations: 8 kB / 0.9529 GB, free: 0.6836 MB / 0.9011 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.0002838/0.005122, allocations: 0.5977 MB / 0.9535 GB, free: 52 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.308e-05/0.005195, allocations: 15.92 kB / 0.9535 GB, free: 36 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.005197, allocations: 0 / 0.9535 GB, free: 36 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.406e-06/0.005205, allocations: 4 kB / 0.9535 GB, free: 32 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.005353, allocations: 11.12 kB / 0.9535 GB, free: 24 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.005664, allocations: 119.4 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.005702, allocations: 59.3 kB / 0.9537 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.771e-05/0.00572, allocations: 0 / 0.9537 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.005748, allocations: 8.5 kB / 0.9537 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.005748, allocations: 0 / 0.9537 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.02193, allocations: 1.578 MB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.065, allocations: 4 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.046147567220032]