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.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.001378/0.001378, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001497/0.001497, allocations: 160.8 kB / 23.01 MB, free: 4.949 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.669/2.669, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.003022/0.003022, allocations: 71.88 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4214, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00178/0.4232, allocations: 0.533 MB / 1.118 GB, free: 2.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.4234, allocations: 43.83 kB / 1.118 GB, free: 1.977 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.4235, allocations: 0 / 1.118 GB, free: 1.977 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.4235, allocations: 0 / 1.118 GB, free: 1.977 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.4236, allocations: 11.92 kB / 1.118 GB, free: 1.965 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.585e-05/0.4237, allocations: 0 / 1.118 GB, free: 1.965 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.4237, allocations: 15.98 kB / 1.118 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.4238, allocations: 0 / 1.118 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.4238, allocations: 7.938 kB / 1.118 GB, free: 1.941 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.4239, allocations: 11.92 kB / 1.118 GB, free: 1.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4239, allocations: 0 / 1.118 GB, free: 1.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.4239, allocations: 4 kB / 1.118 GB, free: 1.926 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.424, allocations: 7.984 kB / 1.118 GB, free: 1.918 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.424, allocations: 11.92 kB / 1.118 GB, free: 1.906 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.49e-05/0.4241, allocations: 11.88 kB / 1.118 GB, free: 1.895 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4241, allocations: 0 / 1.118 GB, free: 1.895 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4241, allocations: 0 / 1.118 GB, free: 1.895 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.4241, allocations: 0 / 1.118 GB, free: 1.895 MB / 1.061 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.0004348/0.4245, allocations: 258.3 kB / 1.118 GB, free: 1.609 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.4246, allocations: 12.03 kB / 1.118 GB, free: 1.598 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.4246, allocations: 0.9375 kB / 1.118 GB, free: 1.598 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4248, allocations: 122.4 kB / 1.118 GB, free: 1.453 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.4248, allocations: 384 / 1.118 GB, free: 1.453 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.4248, allocations: 384 / 1.118 GB, free: 1.453 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.428e-05/0.4249, allocations: 34.25 kB / 1.118 GB, free: 1.414 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4249, allocations: 192 / 1.118 GB, free: 1.414 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4249, allocations: 3.938 kB / 1.118 GB, free: 1.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4249, allocations: 3.984 kB / 1.118 GB, free: 1.406 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.4249, allocations: 7.938 kB / 1.118 GB, free: 1.398 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.4251, allocations: 105.3 kB / 1.119 GB, free: 1.266 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.4251, allocations: 22.58 kB / 1.119 GB, free: 1.234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.4251, allocations: 12.84 kB / 1.119 GB, free: 1.219 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.4252, allocations: 4.062 kB / 1.119 GB, free: 1.215 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.4252, allocations: 30.56 kB / 1.119 GB, free: 1.176 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4252, allocations: 0 / 1.119 GB, free: 1.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001407/0.4253, allocations: 45.56 kB / 1.119 GB, free: 1.125 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.4254, allocations: 55.41 kB / 1.119 GB, free: 1.059 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4255, allocations: 105.8 kB / 1.119 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.4255, allocations: 29.7 kB / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.4255, allocations: 84.14 kB / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.4256, allocations: 7.938 kB / 1.119 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.4256, allocations: 17.84 kB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4257, allocations: 314.8 kB / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.4257, allocations: 4.25 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.4258, allocations: 21.64 kB / 1.119 GB, free: 456 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.4258, allocations: 29.66 kB / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4258, allocations: 0 / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.665e-05/0.4259, allocations: 41.69 kB / 1.119 GB, free: 372 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4259, allocations: 4 kB / 1.119 GB, free: 368 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4259, allocations: 12.11 kB / 1.119 GB, free: 356 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4259, allocations: 3.938 kB / 1.119 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.426, allocations: 7.938 kB / 1.119 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.426, allocations: 0 / 1.119 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.426, allocations: 0 / 1.119 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.426, allocations: 0 / 1.119 GB, free: 344 kB / 1.061 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.306e-05/0.4261, allocations: 113.8 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4261, allocations: 3.953 kB / 1.12 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.4262, allocations: 53.14 kB / 1.12 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4263, allocations: 3.938 kB / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4263, allocations: 4.031 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4263, allocations: 0 / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.4264, allocations: 109.3 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4264, allocations: 0 / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.4264, allocations: 11.92 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4264, allocations: 0 / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4264, allocations: 4 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4264, allocations: 0 / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4264, allocations: 3.938 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.4266, allocations: 77.06 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.4266, allocations: 16.02 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.4266, allocations: 0 / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.4266, allocations: 0 / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.4267, allocations: 7.922 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.4267, allocations: 0 / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.4267, allocations: 87.28 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000184/0.4269, allocations: 4 kB / 1.12 GB, free: 15.78 MB / 1.076 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.0001134/0.427, allocations: 99.17 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.582e-05/0.4271, allocations: 20 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4271, allocations: 0 / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.4271, allocations: 11.92 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.4273, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.4276, allocations: 121.4 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.4277, allocations: 67.28 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.4277, allocations: 4 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.4277, allocations: 8.5 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.4277, allocations: 0 / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of Templates: time 0.002748/0.4305, allocations: 336.1 kB / 1.121 GB, free: 15.08 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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/jenkins1/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: 7.99950172402896]