Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.9861, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001705/0.9878, allocations: 0.5536 MB / 1.272 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001854/0.988, allocations: 42.03 kB / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.9881, allocations: 0 / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.9881, allocations: 5.031 kB / 1.273 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.9883, allocations: 2.531 kB / 1.273 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.333e-05/0.9883, allocations: 6.766 kB / 1.273 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.9884, allocations: 15.28 kB / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.9885, allocations: 2.016 kB / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.9885, allocations: 3.984 kB / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.9886, allocations: 14.94 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.9886, allocations: 0 / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-06/0.9886, allocations: 0.8125 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.9887, allocations: 4.109 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.9887, allocations: 10.58 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.312e-05/0.9887, allocations: 14.14 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.9888, allocations: 1.094 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9888, allocations: 0 / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.9888, allocations: 0 / 1.273 GB, free: 7.5 MB / 0.9981 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.0003321/0.9891, allocations: 339.1 kB / 1.273 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.9891, allocations: 13.34 kB / 1.273 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.9892, allocations: 2.859 kB / 1.273 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.9893, allocations: 175.8 kB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.9893, allocations: 1.969 kB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.9893, allocations: 1.219 kB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.898e-05/0.9894, allocations: 31.75 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.9894, allocations: 0.9375 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.9894, allocations: 3.938 kB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.9894, allocations: 4.719 kB / 1.273 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.9894, allocations: 4.312 kB / 1.273 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.9896, allocations: 157.6 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.9896, allocations: 27.41 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.9896, allocations: 7.875 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.9896, allocations: 0.7812 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.9896, allocations: 36.17 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.9896, allocations: 0 / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.9898, allocations: 44.88 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.9898, allocations: 52.16 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.9899, allocations: 112.8 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.9899, allocations: 26.52 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.9899, allocations: 85.7 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.9899, allocations: 4.734 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.99, allocations: 13.12 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.99, allocations: 322 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.99, allocations: 3.422 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.99, allocations: 15.94 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.9901, allocations: 23.22 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9901, allocations: 0.8438 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.661e-05/0.9901, allocations: 50.2 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.9901, allocations: 4.719 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.9902, allocations: 4.75 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.9902, allocations: 1.688 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.9902, allocations: 3.844 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9902, allocations: 0.7188 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.9903, allocations: 2.281 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.9903, allocations: 1.422 kB / 1.274 GB, free: 5.879 MB / 0.9981 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 4.129e-05/0.9903, allocations: 124.9 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.9903, allocations: 1.359 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.135e-05/0.9904, allocations: 58.28 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.9904, allocations: 0 / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.9904, allocations: 0.7188 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9904, allocations: 0.5156 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.813e-05/0.9905, allocations: 152 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9905, allocations: 4.844 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.9905, allocations: 7.375 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9905, allocations: 0.8125 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.9905, allocations: 9.375 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9905, allocations: 0 / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9905, allocations: 0.8125 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.9906, allocations: 80.7 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.9907, allocations: 81.02 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.9907, allocations: 5.516 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.9907, allocations: 4.688 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.9907, allocations: 6.344 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.9907, allocations: 1.438 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.9907, allocations: 92.5 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9907, allocations: 0 / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001791/0.9909, allocations: 3.516 kB / 1.275 GB, free: 5.234 MB / 0.9981 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.802e-05/0.991, allocations: 95.69 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.9911, allocations: 20.11 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9911, allocations: 5 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.9911, allocations: 5.922 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.9913, allocations: 4.188 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.9915, allocations: 127.5 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.9916, allocations: 0.6831 MB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.9917, allocations: 2.812 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.9917, allocations: 9.188 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.9917, allocations: 0 / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of Templates: time 0.002372/0.994, allocations: 326.6 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.799483652226627]