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.001293/0.001293, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00154/0.00154, allocations: 220.5 kB / 22.26 MB, free: 5.121 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.846/2.846, allocations: 0.49 GB / 0.7951 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [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.001912/0.001912, allocations: 72.52 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2851, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001577/0.2866, allocations: 0.5318 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000171/0.2868, allocations: 40.27 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.2869, allocations: 4 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.2869, allocations: 3.938 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.287, allocations: 7.938 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.473e-05/0.287, allocations: 11.94 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.2871, allocations: 7.984 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.2871, allocations: 0 / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.2872, allocations: 11.94 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.2872, allocations: 11.97 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2872, allocations: 0 / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-06/0.2873, allocations: 4 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.2873, allocations: 4 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.2873, allocations: 11.92 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.527e-05/0.2874, allocations: 15.88 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2874, allocations: 0 / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2874, allocations: 0 / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2874, allocations: 0 / 1.327 GB, free: 0.7578 MB / 1.014 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.0003677/0.2878, allocations: 258.3 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2878, allocations: 8.031 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.2878, allocations: 0.9375 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.288, allocations: 122.5 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.288, allocations: 4.375 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.288, allocations: 384 / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.066e-05/0.2881, allocations: 34.25 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2881, allocations: 192 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2881, allocations: 3.938 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2881, allocations: 0 / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.322e-05/0.2881, allocations: 4 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.2882, allocations: 128.7 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.489e-05/0.2883, allocations: 30.53 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.2883, allocations: 12.92 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.2883, allocations: 0 / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2883, allocations: 30.56 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.2883, allocations: 0 / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.2885, allocations: 45.67 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2885, allocations: 55.47 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.2886, allocations: 117.8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2886, allocations: 29.7 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.2887, allocations: 84.14 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.2887, allocations: 3.953 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.2887, allocations: 13.72 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2888, allocations: 314.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.2889, allocations: 7.984 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.2889, allocations: 21.66 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.2889, allocations: 25.7 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2889, allocations: 3.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.078e-05/0.289, allocations: 45.62 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.289, allocations: 4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.289, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.289, allocations: 128 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.2891, allocations: 8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2891, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.2891, allocations: 4 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.2891, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 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.598e-05/0.2892, allocations: 122.3 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.2892, allocations: 7.938 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.37e-05/0.2893, allocations: 53.09 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2893, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2893, allocations: 4.031 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2893, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.2894, allocations: 120.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2894, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.2895, allocations: 11.98 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2895, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2895, allocations: 7.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2895, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2895, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.2896, allocations: 77.06 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.2896, allocations: 11.97 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2896, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.2896, allocations: 256 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-06/0.2896, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.2896, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.2897, allocations: 91.27 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2897, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001888/0.2899, allocations: 96 / 1.329 GB, free: 14.57 MB / 1.029 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 8.185e-05/0.29, allocations: 99.25 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.245e-05/0.29, allocations: 19.92 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.29, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.2901, allocations: 7.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.2902, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.2904, allocations: 121.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.2907, allocations: 0.6846 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.382e-05/0.2907, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.2908, allocations: 11.44 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.2908, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of Templates: time 0.002171/0.2929, allocations: 328.8 kB / 1.33 GB, free: 13.24 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/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: 7.686906551942229]