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.001993/0.001993, allocations: 88.72 kB / 19.44 MB, free: 360 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.002683/0.002683, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.753e-06/1.753e-06, allocations: 0 / 0.8776 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.651e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.752/0.752, allocations: 210.9 MB / 1.084 GB, free: 16.28 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.7771, allocations: 15.6 MB / 1.099 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004043/0.7811, allocations: 104 kB / 1.099 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.7849, allocations: 1.03 MB / 1.1 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.7952, allocations: 3.211 MB / 1.103 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.006518/0.8018, allocations: 2.185 MB / 1.105 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005667/0.8074, allocations: 3.613 MB / 1.109 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.8097, allocations: 1.033 MB / 1.11 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.8207, allocations: 3.405 MB / 1.113 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002929/0.8236, allocations: 1.002 MB / 1.114 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0005595/0.8242, allocations: 123.5 kB / 1.114 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006876/0.8311, allocations: 2.584 MB / 1.117 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.8322, allocations: 0.5297 MB / 1.117 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.8343, allocations: 0.5672 MB / 1.118 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.009334/0.8436, allocations: 3.107 MB / 1.121 GB, free: 8.34 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8436, allocations: 4 kB / 1.121 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8436, allocations: 0 / 1.121 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001079/0.8437, allocations: 0 / 1.121 GB, free: 8.336 MB / 0.9323 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.005908/0.8497, allocations: 2.089 MB / 1.123 GB, free: 7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.8497, allocations: 10.47 kB / 1.123 GB, free: 7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/0.8533, allocations: 0.6552 MB / 1.123 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.8566, allocations: 1.296 MB / 1.125 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.8568, allocations: 85.97 kB / 1.125 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.8571, allocations: 111 kB / 1.125 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.8601, allocations: 1.461 MB / 1.126 GB, free: 5.254 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.8601, allocations: 5.562 kB / 1.126 GB, free: 5.254 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.8603, allocations: 43.06 kB / 1.126 GB, free: 5.227 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.159e-05/0.8603, allocations: 47.08 kB / 1.126 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.8629, allocations: 1.048 MB / 1.127 GB, free: 4.91 MB / 0.9323 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.007974/0.8709, allocations: 5.936 MB / 1.133 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.8724, allocations: 0.519 MB / 1.134 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.873, allocations: 250.6 kB / 1.134 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.8733, allocations: 53.81 kB / 1.134 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.8733, allocations: 41.09 kB / 1.134 GB, free: 244 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.955e-06/0.8733, allocations: 0 / 1.134 GB, free: 244 kB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.002815/0.8762, allocations: 0.8586 MB / 1.135 GB, free: 15.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.8762, allocations: 54.84 kB / 1.135 GB, free: 15.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.8788, allocations: 1.25 MB / 1.136 GB, free: 15.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.8789, allocations: 36.42 kB / 1.136 GB, free: 15.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008372/0.8797, allocations: 0.7729 MB / 1.137 GB, free: 14.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.8799, allocations: 130.2 kB / 1.137 GB, free: 14.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/0.8803, allocations: 211 kB / 1.137 GB, free: 14.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002247/0.8805, allocations: 341.5 kB / 1.138 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009284/0.8815, allocations: 341.9 kB / 1.138 GB, free: 13.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.8832, allocations: 1.148 MB / 1.139 GB, free: 12.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.8855, allocations: 1.163 MB / 1.14 GB, free: 11.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.8855, allocations: 9.156 kB / 1.14 GB, free: 11.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003085/0.8886, allocations: 1.272 MB / 1.141 GB, free: 11.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.8886, allocations: 19.03 kB / 1.141 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.8887, allocations: 18.59 kB / 1.141 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.07e-05/0.8887, allocations: 26.31 kB / 1.142 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.8897, allocations: 252.2 kB / 1.142 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/0.8898, allocations: 34.89 kB / 1.142 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.8914, allocations: 180.4 kB / 1.142 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.8915, allocations: 54.95 kB / 1.142 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001627/0.8931, allocations: 0.6088 MB / 1.143 GB, free: 10.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001722/0.8949, allocations: 1.147 MB / 1.144 GB, free: 9.414 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002286/0.8972, allocations: 1.159 MB / 1.145 GB, free: 8.457 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-05/0.8972, allocations: 6.781 kB / 1.145 GB, free: 8.457 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.003126/0.9003, allocations: 1.262 MB / 1.146 GB, free: 7.934 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9003, allocations: 11.62 kB / 1.146 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/0.9004, allocations: 26.53 kB / 1.146 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.9004, allocations: 22.69 kB / 1.146 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/0.9014, allocations: 255.3 kB / 1.146 GB, free: 7.879 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.404e-05/0.9014, allocations: 35.42 kB / 1.146 GB, free: 7.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.903, allocations: 149.8 kB / 1.147 GB, free: 7.797 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.9031, allocations: 63.5 kB / 1.147 GB, free: 7.781 MB / 0.948 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.0004105/0.9036, allocations: 253.2 kB / 1.147 GB, free: 7.566 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000482/0.904, allocations: 144 kB / 1.147 GB, free: 7.488 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.9063, allocations: 0.6378 MB / 1.148 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.9063, allocations: 5.938 kB / 1.148 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9063, allocations: 0 / 1.148 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9063, allocations: 0 / 1.148 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.9107, allocations: 1.676 MB / 1.149 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.9107, allocations: 3.344 kB / 1.149 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.9112, allocations: 97.58 kB / 1.149 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.9112, allocations: 6.219 kB / 1.149 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.9112, allocations: 16.95 kB / 1.149 GB, free: 5.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.9113, allocations: 9.406 kB / 1.149 GB, free: 5.977 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9113, allocations: 5.938 kB / 1.149 GB, free: 5.977 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.9131, allocations: 0.7956 MB / 1.15 GB, free: 5.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.9137, allocations: 199.5 kB / 1.15 GB, free: 5.293 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.914, allocations: 21.89 kB / 1.15 GB, free: 5.277 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.9151, allocations: 62.69 kB / 1.15 GB, free: 5.254 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.9152, allocations: 33.42 kB / 1.151 GB, free: 5.234 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.9153, allocations: 21.86 kB / 1.151 GB, free: 5.227 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001638/0.9169, allocations: 0.8199 MB / 1.151 GB, free: 4.773 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.9169, allocations: 0 / 1.151 GB, free: 4.773 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002742/0.9197, allocations: 0.6806 MB / 1.152 GB, free: 4.625 MB / 0.948 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.0006348/0.9203, allocations: 260 kB / 1.152 GB, free: 4.469 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.9237, allocations: 1.24 MB / 1.153 GB, free: 4.008 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.9237, allocations: 2 kB / 1.153 GB, free: 4.008 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.9244, allocations: 247 kB / 1.154 GB, free: 3.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.9271, allocations: 0.4955 MB / 1.154 GB, free: 3.648 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.9331, allocations: 2.343 MB / 1.156 GB, free: 2.184 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009249/0.934, allocations: 0.6397 MB / 1.157 GB, free: 1.816 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001512/0.9356, allocations: 350.4 kB / 1.157 GB, free: 1.645 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.9359, allocations: 87.81 kB / 1.157 GB, free: 1.629 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/0.9359, allocations: 0 / 1.157 GB, free: 1.629 MB / 0.948 GB Notification: Performance of Templates: time 0.0382/0.9741, allocations: 18.6 MB / 1.176 GB, free: 1.105 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 800] 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: 9.641014577937312]