Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007451/0.0007451, 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.000774/0.000774, 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.8516/0.8516, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.641/1.641, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.174e-05, allocations: 4.812 kB / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001329/0.001351, allocations: 0.5447 MB / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.001507, allocations: 35.88 kB / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.001553, allocations: 0 / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.001586, allocations: 11.92 kB / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.001735, allocations: 3.938 kB / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.775e-05/0.001782, allocations: 4 kB / 0.9815 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.101e-05/0.001843, allocations: 19.92 kB / 0.9815 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.001881, allocations: 0 / 0.9815 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.001936, allocations: 11.92 kB / 0.9815 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.002001, allocations: 7.984 kB / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.002021, allocations: 0 / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.002028, allocations: 0 / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.002076, allocations: 7.938 kB / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.0021, allocations: 4 kB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.869e-05/0.002159, allocations: 11.98 kB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002161, allocations: 0 / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002162, allocations: 4 kB / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.002166, allocations: 0 / 0.9816 GB, free: 1.922 MB / 0.9323 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.0003418/0.002508, allocations: 254.4 kB / 0.9818 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.002548, allocations: 12.02 kB / 0.9818 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.002576, allocations: 34.75 kB / 0.9819 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.811e-05/0.002594, allocations: 0.9375 kB / 0.9819 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.002726, allocations: 117.7 kB / 0.982 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.002733, allocations: 384 / 0.982 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.002749, allocations: 4.328 kB / 0.982 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.685e-05/0.002816, allocations: 34.25 kB / 0.982 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.002822, allocations: 8.125 kB / 0.982 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.002829, allocations: 4.375 kB / 0.982 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.002834, allocations: 8.125 kB / 0.982 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.002851, allocations: 3.938 kB / 0.982 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.002962, allocations: 124.7 kB / 0.9822 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.661e-05/0.002999, allocations: 22.61 kB / 0.9822 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.003014, allocations: 12.91 kB / 0.9822 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.003026, allocations: 0 / 0.9822 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.003047, allocations: 30.56 kB / 0.9822 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.003048, allocations: 0 / 0.9822 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.003171, allocations: 49.62 kB / 0.9823 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.0032, allocations: 55.34 kB / 0.9823 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.003268, allocations: 109.8 kB / 0.9824 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.003279, allocations: 29.7 kB / 0.9825 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.003308, allocations: 80.14 kB / 0.9825 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.00333, allocations: 11.94 kB / 0.9825 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.003355, allocations: 13.72 kB / 0.9826 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.003425, allocations: 314.8 kB / 0.9829 GB, free: 436 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.003436, allocations: 0 / 0.9829 GB, free: 436 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.003455, allocations: 21.83 kB / 0.9829 GB, free: 408 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.003487, allocations: 25.72 kB / 0.9829 GB, free: 376 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003489, allocations: 4 kB / 0.9829 GB, free: 372 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.794e-05/0.003537, allocations: 41.69 kB / 0.9829 GB, free: 324 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.003549, allocations: 4 kB / 0.983 GB, free: 320 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.003555, allocations: 3.984 kB / 0.983 GB, free: 316 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.003566, allocations: 0 / 0.983 GB, free: 316 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.003634, allocations: 11.88 kB / 0.983 GB, free: 304 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.003639, allocations: 0 / 0.983 GB, free: 304 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.003654, allocations: 8.062 kB / 0.983 GB, free: 296 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.003659, allocations: 0 / 0.983 GB, free: 296 kB / 0.9323 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.09e-05/0.00371, allocations: 113.8 kB / 0.9831 GB, free: 172 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-06/0.003714, allocations: 0 / 0.9831 GB, free: 172 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.003793, allocations: 57.12 kB / 0.9831 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.003795, allocations: 0 / 0.9831 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.0038, allocations: 3.938 kB / 0.9831 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.003803, allocations: 0 / 0.9831 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.003896, allocations: 128.9 kB / 0.9833 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.003898, allocations: 8 kB / 0.9833 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.003941, allocations: 4.031 kB / 0.9833 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.003943, allocations: 3.938 kB / 0.9833 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.00395, allocations: 4 kB / 0.9833 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.003952, allocations: 0 / 0.9833 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.003954, allocations: 3.938 kB / 0.9833 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.004071, allocations: 77.06 kB / 0.9834 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.004093, allocations: 4.031 kB / 0.9834 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.004107, allocations: 0 / 0.9834 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.00412, allocations: 7.938 kB / 0.9834 GB, free: 15.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.004136, allocations: 7.922 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.004138, allocations: 4.094 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.004172, allocations: 87.28 kB / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.004172, allocations: 0 / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001184/0.004291, allocations: 4 kB / 0.9835 GB, free: 15.71 MB / 0.948 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.0002608/0.004551, allocations: 0.6124 MB / 0.9841 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.004643, allocations: 11.98 kB / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.004645, allocations: 0 / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.004657, allocations: 12.14 kB / 0.9841 GB, free: 15.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.004787, allocations: 12 kB / 0.9841 GB, free: 15.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.005536, allocations: 1.143 MB / 0.9852 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.005583, allocations: 67.34 kB / 0.9853 GB, free: 13.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.005602, allocations: 0 / 0.9853 GB, free: 13.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.005635, allocations: 12.5 kB / 0.9853 GB, free: 13.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/0.005636, allocations: 0 / 0.9853 GB, free: 13.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.02352, allocations: 1.854 MB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.194/6.217, allocations: 9.234 kB / 0.9871 GB, free: 11.97 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.118135620839894]