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.001305/0.001305, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001452/0.001452, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.797 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.464/3.464, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.003471/0.003471, allocations: 67.88 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.39, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001702/0.3917, allocations: 0.5399 MB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000206/0.3919, allocations: 43.81 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.392, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.392, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3922, allocations: 7.938 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.111e-05/0.3922, allocations: 0 / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.3923, allocations: 11.98 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.3924, allocations: 12.33 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.3924, allocations: 11.94 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.3925, allocations: 7.984 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3925, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.3925, allocations: 3.938 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.3926, allocations: 4 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.3926, allocations: 3.938 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.492e-05/0.3927, allocations: 15.91 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3927, allocations: 3.938 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3927, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3927, allocations: 0 / 1.364 GB, free: 12.93 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.0004795/0.3932, allocations: 262.3 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3932, allocations: 12.03 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.3932, allocations: 0.9375 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3934, allocations: 118.5 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3935, allocations: 384 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3935, allocations: 4.328 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.3936, allocations: 38.19 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3936, allocations: 192 / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3936, allocations: 3.938 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3936, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.3936, allocations: 8 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.3938, allocations: 105.3 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.819e-05/0.3938, allocations: 18.58 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.3939, allocations: 8.844 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3939, allocations: 4.062 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3939, allocations: 30.56 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3939, allocations: 3.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001548/0.3941, allocations: 49.62 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3941, allocations: 51.41 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3942, allocations: 114 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3942, allocations: 25.7 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.3943, allocations: 84.14 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.3943, allocations: 3.953 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.3944, allocations: 17.7 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3945, allocations: 310.8 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.3945, allocations: 8 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.3946, allocations: 17.7 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.3946, allocations: 21.66 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3946, allocations: 4.062 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.678e-05/0.3947, allocations: 49.62 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3947, allocations: 4 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.3947, allocations: 7.984 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3947, allocations: 4.188 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.3948, allocations: 11.92 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3948, allocations: 4 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.3948, allocations: 3.938 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3948, allocations: 0 / 1.366 GB, free: 11.37 MB / 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.76e-05/0.3949, allocations: 113.9 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.3949, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.3951, allocations: 57.08 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3951, allocations: 3.938 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3951, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3951, allocations: 4 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.3952, allocations: 105.3 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3952, allocations: 0 / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.3952, allocations: 4 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3952, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3952, allocations: 4.031 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3952, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3952, allocations: 3.938 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3954, allocations: 85.06 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.3954, allocations: 4.031 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3954, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.3954, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.3955, allocations: 3.938 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3955, allocations: 7.922 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.3955, allocations: 87.28 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3955, allocations: 96 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000183/0.3957, allocations: 8 kB / 1.366 GB, free: 10.81 MB / 1.061 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.0001039/0.3958, allocations: 91.25 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.3959, allocations: 15.98 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3959, allocations: 0 / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.396, allocations: 11.98 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.3961, allocations: 1.875 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.3964, allocations: 121.5 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.3965, allocations: 67.53 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.649e-05/0.3965, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.3965, allocations: 11.44 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3965, allocations: 3.938 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of Templates: time 0.002502/0.399, allocations: 329.4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/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: 9.224041720852256]