Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001369/0.001369, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001506/0.001506, allocations: 221.1 kB / 23 MB, free: 4.918 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.244/3.244, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_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.002268/0.002268, allocations: 75.28 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3893, allocations: 181.8 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001839/0.3911, allocations: 0.5476 MB / 1.365 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001333/0.3912, allocations: 15.97 kB / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.3913, allocations: 0 / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.3913, allocations: 3.938 kB / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3914, allocations: 0 / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.878e-06/0.3914, allocations: 0 / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.38e-05/0.3915, allocations: 4 kB / 1.365 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.3915, allocations: 0 / 1.365 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.3916, allocations: 15.86 kB / 1.365 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.3916, allocations: 3.984 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3917, allocations: 4 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-06/0.3917, allocations: 0 / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.3917, allocations: 0 / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.3917, allocations: 4 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.763e-05/0.3918, allocations: 7.938 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3918, allocations: 0 / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3918, allocations: 0 / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3918, allocations: 0 / 1.365 GB, free: 13.01 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003263/0.3921, allocations: 242.4 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3921, allocations: 12.03 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.3921, allocations: 0.9375 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.3922, allocations: 106.5 kB / 1.366 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3923, allocations: 384 / 1.366 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3923, allocations: 4.375 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.3924, allocations: 47.92 kB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3924, allocations: 4.172 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3924, allocations: 3.938 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3924, allocations: 0 / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.3924, allocations: 7.938 kB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.3926, allocations: 106.7 kB / 1.366 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.3927, allocations: 41.22 kB / 1.366 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.3927, allocations: 17.72 kB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3927, allocations: 0 / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.3927, allocations: 42.53 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3927, allocations: 0 / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.3929, allocations: 45.58 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.393, allocations: 77.11 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.393, allocations: 97.84 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3931, allocations: 26.08 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.3931, allocations: 88.08 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3931, allocations: 3.953 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3932, allocations: 17.72 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3933, allocations: 310.8 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.3933, allocations: 4 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.3933, allocations: 9.719 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.3934, allocations: 25.7 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3934, allocations: 0 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.828e-05/0.3934, allocations: 41.7 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3934, allocations: 4 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3934, allocations: 4 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3935, allocations: 7.875 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.3935, allocations: 4 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3935, allocations: 3.984 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.3936, allocations: 0 / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3936, allocations: 0 / 1.367 GB, free: 11.42 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.506e-05/0.3936, allocations: 114.9 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.3937, allocations: 7.953 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.3938, allocations: 52.69 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3938, allocations: 7.938 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3938, allocations: 0 / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3938, allocations: 0 / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.3939, allocations: 105.2 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3939, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.3939, allocations: 11.92 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3939, allocations: 0 / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.394, allocations: 0 / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.394, allocations: 4.062 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.394, allocations: 3.938 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.753e-05/0.3941, allocations: 69.98 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.3941, allocations: 0 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3941, allocations: 11.94 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.3941, allocations: 0 / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.3941, allocations: 3.938 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3941, allocations: 4 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.3942, allocations: 79.22 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3942, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001881/0.3944, allocations: 4.125 kB / 1.367 GB, free: 10.88 MB / 1.061 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 0.0001223/0.3945, allocations: 99.23 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.3946, allocations: 8 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3946, allocations: 0 / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.3946, allocations: 7.938 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.3947, allocations: 6.391 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.395, allocations: 115.5 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.3951, allocations: 59.61 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.3951, allocations: 7.438 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3951, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of Templates: time 0.001915/0.397, allocations: 371.7 kB / 1.368 GB, free: 10.15 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.162497120909393]