Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001427/0.001427, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001596/0.001596, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.307/1.307, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.847/2.847, allocations: 0.49 GB / 0.7958 GB, free: 33.33 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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [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.001888/0.001888, allocations: 65.31 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2868, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001595/0.2884, allocations: 0.5422 MB / 1.328 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.2885, allocations: 15.92 kB / 1.328 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.2885, allocations: 0 / 1.328 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.2885, allocations: 0 / 1.328 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.2887, allocations: 7.938 kB / 1.328 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.2887, allocations: 0 / 1.328 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.651e-05/0.2887, allocations: 3.984 kB / 1.328 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.2888, allocations: 4 kB / 1.328 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.2888, allocations: 3.984 kB / 1.328 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.2888, allocations: 7.938 kB / 1.328 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2889, allocations: 0 / 1.328 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-06/0.2889, allocations: 4 kB / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.2889, allocations: 0 / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.2889, allocations: 3.938 kB / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.328e-05/0.2889, allocations: 0 / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2889, allocations: 0 / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2889, allocations: 4 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.2889, allocations: 3.938 kB / 1.328 GB, free: 0.9141 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000282/0.2892, allocations: 242.4 kB / 1.328 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2893, allocations: 8.031 kB / 1.328 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.2893, allocations: 0.9375 kB / 1.328 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.24e-05/0.2894, allocations: 110.5 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.2894, allocations: 384 / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2894, allocations: 384 / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.2895, allocations: 48.38 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2895, allocations: 192 / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2895, allocations: 3.938 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2895, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.2895, allocations: 7.938 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2897, allocations: 137.6 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.2897, allocations: 41.19 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.2898, allocations: 13.72 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2898, allocations: 0 / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2898, allocations: 38.62 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2898, allocations: 0 / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001404/0.29, allocations: 53.5 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.29, allocations: 77.11 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.2901, allocations: 93.86 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2901, allocations: 25.7 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.2901, allocations: 88.5 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2902, allocations: 3.953 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.2902, allocations: 17.72 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2903, allocations: 314.8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.2904, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.2904, allocations: 13.72 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.2904, allocations: 25.72 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2904, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.107e-05/0.2905, allocations: 41.62 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2905, allocations: 8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2905, allocations: 3.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2905, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.2906, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2906, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.2906, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.2906, allocations: 8.062 kB / 1.329 GB, free: 15.29 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 7.368e-05/0.2907, allocations: 110.4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.2907, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.2908, allocations: 60.55 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2908, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2908, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.2908, allocations: 7.984 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.419e-05/0.2909, allocations: 124.8 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2909, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.2909, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2909, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.2909, allocations: 3.938 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2909, allocations: 3.984 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2909, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.986e-05/0.291, allocations: 73.94 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.291, allocations: 3.984 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2911, allocations: 7.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.2911, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.2911, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-06/0.2911, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.2911, allocations: 79.28 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2911, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001672/0.2913, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 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 9.14e-05/0.2914, allocations: 103.3 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/0.2915, allocations: 15.92 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.2915, allocations: 0 / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-06/0.2915, allocations: 4 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2916, allocations: 5.562 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.2918, allocations: 131.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.2921, allocations: 0.669 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.2921, allocations: 11.44 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.2921, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of Templates: time 0.001546/0.2937, allocations: 359.8 kB / 1.331 GB, free: 13.37 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.801068553002551]