Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001595/0.001595, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.001835/0.001835, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.077/3.077, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",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.002046/0.002046, allocations: 68.7 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2944, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001558/0.296, allocations: 0.5328 MB / 1.348 GB, free: 9.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001615/0.2961, allocations: 47.8 kB / 1.348 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.2962, allocations: 0 / 1.348 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.2962, allocations: 0 / 1.348 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2963, allocations: 3.938 kB / 1.348 GB, free: 9.438 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.196e-05/0.2963, allocations: 8 kB / 1.348 GB, free: 9.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.091e-05/0.2964, allocations: 7.984 kB / 1.348 GB, free: 9.422 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.2964, allocations: 0 / 1.348 GB, free: 9.422 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.2965, allocations: 11.92 kB / 1.348 GB, free: 9.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.2965, allocations: 15.92 kB / 1.348 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2966, allocations: 4 kB / 1.348 GB, free: 9.391 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.2966, allocations: 4 kB / 1.348 GB, free: 9.387 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.2966, allocations: 0 / 1.348 GB, free: 9.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.2966, allocations: 7.938 kB / 1.348 GB, free: 9.379 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.002e-05/0.2967, allocations: 16.19 kB / 1.348 GB, free: 9.363 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2967, allocations: 3.938 kB / 1.348 GB, free: 9.359 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2967, allocations: 0 / 1.348 GB, free: 9.359 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2967, allocations: 0 / 1.348 GB, free: 9.359 MB / 1.045 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.0004135/0.2971, allocations: 339.4 kB / 1.349 GB, free: 8.977 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2972, allocations: 11.98 kB / 1.349 GB, free: 8.965 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2972, allocations: 34.75 kB / 1.349 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.2972, allocations: 4.891 kB / 1.349 GB, free: 8.918 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.2974, allocations: 180.4 kB / 1.349 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2974, allocations: 4.359 kB / 1.349 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2974, allocations: 384 / 1.349 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.363e-05/0.2975, allocations: 34.2 kB / 1.349 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2975, allocations: 3.938 kB / 1.349 GB, free: 8.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.2975, allocations: 0 / 1.349 GB, free: 8.656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2975, allocations: 0 / 1.349 GB, free: 8.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.2975, allocations: 11.98 kB / 1.349 GB, free: 8.645 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.2977, allocations: 153.7 kB / 1.349 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.2977, allocations: 18.58 kB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.2978, allocations: 4.859 kB / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2978, allocations: 0 / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2978, allocations: 38.97 kB / 1.349 GB, free: 8.363 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2978, allocations: 4 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.2979, allocations: 53.56 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.298, allocations: 51.41 kB / 1.349 GB, free: 8.238 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.2981, allocations: 109.8 kB / 1.349 GB, free: 8.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2981, allocations: 25.7 kB / 1.349 GB, free: 8.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.2981, allocations: 84.14 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.2981, allocations: 4 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.2982, allocations: 9.719 kB / 1.35 GB, free: 7.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2983, allocations: 323 kB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.2983, allocations: 4 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.2983, allocations: 13.72 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.2984, allocations: 29.64 kB / 1.35 GB, free: 7.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2984, allocations: 0 / 1.35 GB, free: 7.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.989e-05/0.2985, allocations: 61.61 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2985, allocations: 11.94 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2985, allocations: 0 / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2985, allocations: 0 / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.2985, allocations: 4 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2986, allocations: 0 / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.2986, allocations: 3.984 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2986, allocations: 4 kB / 1.35 GB, free: 7.512 MB / 1.045 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 7.302e-05/0.2987, allocations: 105.8 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2987, allocations: 15.91 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.2988, allocations: 49.16 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2988, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2988, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2988, allocations: 4 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2989, allocations: 157.7 kB / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2989, allocations: 256 / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.2989, allocations: 4 kB / 1.35 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.299, allocations: 7.938 kB / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.299, allocations: 0 / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.299, allocations: 4.031 kB / 1.35 GB, free: 7.098 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.299, allocations: 3.984 kB / 1.35 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.2991, allocations: 85.06 kB / 1.35 GB, free: 6.992 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.2991, allocations: 77.11 kB / 1.35 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2992, allocations: 3.938 kB / 1.35 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.2992, allocations: 4.031 kB / 1.35 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.2992, allocations: 3.938 kB / 1.35 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.2992, allocations: 8.078 kB / 1.35 GB, free: 6.879 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.2992, allocations: 87.28 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.2992, allocations: 0 / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001735/0.2994, allocations: 4 kB / 1.351 GB, free: 6.789 MB / 1.045 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.0004005/0.2998, allocations: 0.6086 MB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.2999, allocations: 20.02 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2999, allocations: 0 / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.2999, allocations: 4 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3, allocations: 4 kB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.301, allocations: 1.162 MB / 1.352 GB, free: 4.875 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3013, allocations: 0.6807 MB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.3013, allocations: 4 kB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.3014, allocations: 11.44 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3014, allocations: 0 / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.3259, allocations: 1.193 MB / 1.354 GB, free: 3.047 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.954, allocations: 1.625 kB / 1.354 GB, free: 3.047 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.28534750919789]