Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.001997/0.001997, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002331/0.002331, allocations: 177.2 kB / 22.76 MB, free: 1.656 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.592/3.592, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.766e-05, allocations: 4.844 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7539/0.7539, allocations: 236.8 MB / 1.109 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.7799, allocations: 17.16 MB / 1.125 GB, free: 47.04 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.7827, allocations: 99.97 kB / 1.126 GB, free: 47.04 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.7858, allocations: 1.024 MB / 1.127 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.009656/0.7955, allocations: 3.203 MB / 1.13 GB, free: 46.42 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006918/0.8024, allocations: 2.182 MB / 1.132 GB, free: 46.28 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.006586/0.809, allocations: 3.612 MB / 1.135 GB, free: 45.55 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.811, allocations: 1.037 MB / 1.136 GB, free: 45.42 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009309/0.8203, allocations: 3.415 MB / 1.14 GB, free: 45.04 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.8236, allocations: 1.019 MB / 1.141 GB, free: 44.91 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.8241, allocations: 124.2 kB / 1.141 GB, free: 44.91 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007291/0.8314, allocations: 2.585 MB / 1.143 GB, free: 44.66 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0009616/0.8323, allocations: 0.5331 MB / 1.144 GB, free: 44.56 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.8337, allocations: 0.5678 MB / 1.144 GB, free: 44.36 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.842, allocations: 3.108 MB / 1.147 GB, free: 43.48 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8421, allocations: 0 / 1.147 GB, free: 43.48 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8421, allocations: 1.281 kB / 1.147 GB, free: 43.48 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.452e-05/0.8421, allocations: 0.9375 kB / 1.147 GB, free: 43.48 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005243/0.8474, allocations: 2.341 MB / 1.15 GB, free: 41.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8474, allocations: 10.94 kB / 1.15 GB, free: 41.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.8505, allocations: 0.6017 MB / 1.15 GB, free: 41.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.8535, allocations: 1.269 MB / 1.152 GB, free: 41.14 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/0.8536, allocations: 84.56 kB / 1.152 GB, free: 41.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.8538, allocations: 114.8 kB / 1.152 GB, free: 41.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.8561, allocations: 1.427 MB / 1.153 GB, free: 40.14 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.8561, allocations: 5.594 kB / 1.153 GB, free: 40.14 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8562, allocations: 40.64 kB / 1.153 GB, free: 40.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/0.8563, allocations: 51.95 kB / 1.153 GB, free: 40.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.8583, allocations: 0.7701 MB / 1.154 GB, free: 39.9 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008168/0.8664, allocations: 8.102 MB / 1.162 GB, free: 33.46 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.8676, allocations: 374.8 kB / 1.162 GB, free: 33.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.868, allocations: 176.3 kB / 1.162 GB, free: 33.29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.8683, allocations: 53.86 kB / 1.162 GB, free: 33.28 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.8683, allocations: 40.42 kB / 1.162 GB, free: 33.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.8683, allocations: 4 kB / 1.162 GB, free: 33.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.001977/0.8703, allocations: 0.6361 MB / 1.163 GB, free: 33 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.8703, allocations: 54.69 kB / 1.163 GB, free: 32.94 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.8721, allocations: 1.605 MB / 1.165 GB, free: 32.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.698e-05/0.8722, allocations: 43.17 kB / 1.165 GB, free: 32.16 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.8727, allocations: 0.9124 MB / 1.166 GB, free: 31.46 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.8728, allocations: 134.1 kB / 1.166 GB, free: 31.36 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.8731, allocations: 250.5 kB / 1.166 GB, free: 31.23 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8732, allocations: 0.5394 MB / 1.167 GB, free: 30.71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.8738, allocations: 237.6 kB / 1.167 GB, free: 30.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000975/0.8748, allocations: 1.31 MB / 1.168 GB, free: 29.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.8762, allocations: 1.227 MB / 1.169 GB, free: 28.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.8762, allocations: 5.5 kB / 1.169 GB, free: 28.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002135/0.8783, allocations: 1.071 MB / 1.17 GB, free: 27.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.8783, allocations: 16.22 kB / 1.17 GB, free: 27.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.8784, allocations: 23 kB / 1.17 GB, free: 27.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.8784, allocations: 21.09 kB / 1.17 GB, free: 27.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.8792, allocations: 236.8 kB / 1.171 GB, free: 27.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/0.8793, allocations: 34.5 kB / 1.171 GB, free: 27.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.8806, allocations: 143.6 kB / 1.171 GB, free: 27.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.8807, allocations: 58.22 kB / 1.171 GB, free: 27.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000992/0.8816, allocations: 496.8 kB / 1.171 GB, free: 27.37 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008946/0.8825, allocations: 1.307 MB / 1.173 GB, free: 25.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001306/0.8839, allocations: 1.231 MB / 1.174 GB, free: 24.78 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/0.8839, allocations: 5.75 kB / 1.174 GB, free: 24.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.002024/0.8859, allocations: 1.06 MB / 1.175 GB, free: 24.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8859, allocations: 12.75 kB / 1.175 GB, free: 24.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.8859, allocations: 20.66 kB / 1.175 GB, free: 24.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8859, allocations: 28.72 kB / 1.175 GB, free: 24.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.8867, allocations: 232.6 kB / 1.175 GB, free: 24.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.8867, allocations: 35.22 kB / 1.175 GB, free: 24.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.888, allocations: 117.4 kB / 1.175 GB, free: 24.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/0.8881, allocations: 61.69 kB / 1.175 GB, free: 24.39 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (115): * Single equations (assignments): 115 * 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.0002919/0.8884, allocations: 341.4 kB / 1.176 GB, free: 24.09 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.8886, allocations: 145.9 kB / 1.176 GB, free: 24.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.8899, allocations: 0.4937 MB / 1.176 GB, free: 23.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8899, allocations: 3.469 kB / 1.176 GB, free: 23.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8899, allocations: 0 / 1.176 GB, free: 23.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8899, allocations: 0 / 1.176 GB, free: 23.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.8932, allocations: 1.877 MB / 1.178 GB, free: 22.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8932, allocations: 3.531 kB / 1.178 GB, free: 22.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.8936, allocations: 80.25 kB / 1.178 GB, free: 22.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.8936, allocations: 13.23 kB / 1.178 GB, free: 22.76 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.8936, allocations: 21.84 kB / 1.178 GB, free: 22.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.8936, allocations: 5.531 kB / 1.178 GB, free: 22.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8936, allocations: 8.062 kB / 1.178 GB, free: 22.75 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.8948, allocations: 0.7412 MB / 1.179 GB, free: 22.21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.8953, allocations: 200.6 kB / 1.179 GB, free: 22.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.8955, allocations: 12.5 kB / 1.179 GB, free: 22.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/0.8962, allocations: 42.39 kB / 1.179 GB, free: 22.09 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.8963, allocations: 36.38 kB / 1.179 GB, free: 22.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.8964, allocations: 24.59 kB / 1.179 GB, free: 22.07 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001078/0.8975, allocations: 0.9052 MB / 1.18 GB, free: 21.69 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.8975, allocations: 0 / 1.18 GB, free: 21.69 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002265/0.8997, allocations: 0.6936 MB / 1.181 GB, free: 21.54 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0004459/0.9002, allocations: 261 kB / 1.181 GB, free: 21.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.9026, allocations: 1.111 MB / 1.182 GB, free: 21.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9026, allocations: 0.8125 kB / 1.182 GB, free: 21.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.903, allocations: 192.8 kB / 1.182 GB, free: 21.08 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.9054, allocations: 0.4999 MB / 1.183 GB, free: 20.94 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.91, allocations: 2.294 MB / 1.185 GB, free: 19.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.9106, allocations: 0.6163 MB / 1.186 GB, free: 19.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001272/0.9119, allocations: 327.8 kB / 1.186 GB, free: 19.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.9122, allocations: 82.55 kB / 1.186 GB, free: 19.36 MB / 1.01 GB Notification: Performance of SimCode: time 1.653e-06/0.9122, allocations: 0 / 1.186 GB, free: 19.36 MB / 1.01 GB Notification: Performance of Templates: time 0.0303/0.9425, allocations: 18.73 MB / 1.204 GB, free: 17.28 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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: 10.027165706036612]