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.002216/0.002216, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 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.002615/0.002615, allocations: 157.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.658/1.658, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.065/3.065, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.538e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001586/0.001612, allocations: 0.5386 MB / 0.8113 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.001756, allocations: 23.84 kB / 0.8113 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.001787, allocations: 0.5 kB / 0.8113 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.001802, allocations: 1 kB / 0.8113 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.001972, allocations: 7.938 kB / 0.8113 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.001976, allocations: 0 / 0.8113 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.002043, allocations: 8.969 kB / 0.8114 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.002088, allocations: 0 / 0.8114 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.002149, allocations: 3.984 kB / 0.8114 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.002191, allocations: 5.406 kB / 0.8114 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.002206, allocations: 0 / 0.8114 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.002213, allocations: 0 / 0.8114 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.002224, allocations: 0 / 0.8114 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.002249, allocations: 0.9062 kB / 0.8114 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.005e-05/0.002299, allocations: 7.938 kB / 0.8114 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002301, allocations: 1.062 kB / 0.8114 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.32e-07/0.002301, allocations: 0 / 0.8114 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.002305, allocations: 0 / 0.8114 GB, free: 1.559 MB / 0.7605 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.0004155/0.002721, allocations: 340.9 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.002764, allocations: 8.688 kB / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.002811, allocations: 4.938 kB / 0.8117 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.00293, allocations: 105.9 kB / 0.8118 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.002944, allocations: 384 / 0.8118 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.002956, allocations: 4.375 kB / 0.8118 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.00309, allocations: 60 kB / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.0031, allocations: 192 / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.003109, allocations: 384 / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003113, allocations: 384 / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.003144, allocations: 7.938 kB / 0.8119 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.003339, allocations: 120.3 kB / 0.812 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.003442, allocations: 54.62 kB / 0.812 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.003478, allocations: 21.03 kB / 0.8121 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.003505, allocations: 0 / 0.8121 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.003552, allocations: 45.38 kB / 0.8121 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.003553, allocations: 0 / 0.8121 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.003733, allocations: 38.98 kB / 0.8121 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.003805, allocations: 85.05 kB / 0.8122 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.003934, allocations: 162.4 kB / 0.8124 GB, free: 336 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.003953, allocations: 26.58 kB / 0.8124 GB, free: 304 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.004027, allocations: 130.9 kB / 0.8125 GB, free: 168 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.004055, allocations: 4.766 kB / 0.8125 GB, free: 164 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.004092, allocations: 19.38 kB / 0.8126 GB, free: 136 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003154/0.004408, allocations: 496.7 kB / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.004425, allocations: 5.375 kB / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.004453, allocations: 19.38 kB / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.004504, allocations: 24.52 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004506, allocations: 0 / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.002e-05/0.004586, allocations: 42.42 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.004602, allocations: 11.94 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.004607, allocations: 0.5938 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.004624, allocations: 0 / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.004698, allocations: 4.75 kB / 0.8131 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.004707, allocations: 3.984 kB / 0.8131 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.004726, allocations: 5.125 kB / 0.8131 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.004736, allocations: 4 kB / 0.8131 GB, free: 15.5 MB / 0.7761 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 0.0001349/0.004871, allocations: 161.5 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.004882, allocations: 3.953 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.005006, allocations: 52 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.005011, allocations: 3.984 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.005025, allocations: 4 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.005031, allocations: 7.875 kB / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.005146, allocations: 108.6 kB / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005147, allocations: 0 / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.005175, allocations: 7.984 kB / 0.8135 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005177, allocations: 0 / 0.8135 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.005184, allocations: 0.5 kB / 0.8135 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.005188, allocations: 5.938 kB / 0.8135 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005189, allocations: 0 / 0.8135 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.005318, allocations: 84.06 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.005359, allocations: 4 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.00537, allocations: 0 / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.005386, allocations: 1.406 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.005414, allocations: 7.938 kB / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.005416, allocations: 0 / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.005493, allocations: 124.3 kB / 0.8137 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005493, allocations: 0 / 0.8137 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000187/0.00568, allocations: 8 kB / 0.8137 GB, free: 14.86 MB / 0.7761 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.0001277/0.005807, allocations: 96.67 kB / 0.8138 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.005913, allocations: 16.53 kB / 0.8138 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005915, allocations: 0 / 0.8138 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.005948, allocations: 16.91 kB / 0.8138 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.006092, allocations: 4 kB / 0.8138 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.006339, allocations: 103 kB / 0.8139 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.006398, allocations: 59.22 kB / 0.814 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.643e-05/0.006414, allocations: 4.812 kB / 0.814 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.006437, allocations: 10.06 kB / 0.814 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.006438, allocations: 0 / 0.814 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of Templates: time 0.002491/0.008929, allocations: 220.1 kB / 0.8142 GB, free: 14.28 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.059038385981694]