Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001639, allocations: 110.2 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 55.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8575, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03449/0.892, allocations: 32.76 MB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.9087, allocations: 10.48 MB / 1.131 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.9113, allocations: 48.34 kB / 1.131 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.9143, allocations: 0.7422 MB / 1.132 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006637/0.921, allocations: 1.618 MB / 1.133 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.9258, allocations: 1.409 MB / 1.135 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007308/0.9331, allocations: 4.901 MB / 1.139 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.9366, allocations: 2.059 MB / 1.141 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/0.9418, allocations: 1.94 MB / 1.143 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002887/0.9448, allocations: 1.365 MB / 1.145 GB, free: 0 / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.9452, allocations: 140.2 kB / 1.145 GB, free: 0 / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.9484, allocations: 1.17 MB / 1.146 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006087/0.949, allocations: 475.1 kB / 1.146 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.9505, allocations: 1.008 MB / 1.147 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005198/0.9557, allocations: 2.942 MB / 1.15 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9558, allocations: 1.281 kB / 1.15 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9558, allocations: 0 / 1.15 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.356e-05/0.9558, allocations: 0 / 1.15 GB, free: 13.71 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00441/0.9603, allocations: 2.38 MB / 1.152 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.9603, allocations: 13.75 kB / 1.152 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.9621, allocations: 390.7 kB / 1.153 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.9655, allocations: 1.73 MB / 1.155 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.702e-05/0.9657, allocations: 77.25 kB / 1.155 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.9658, allocations: 104.6 kB / 1.155 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.9685, allocations: 1.312 MB / 1.156 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.9685, allocations: 11.44 kB / 1.156 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.9686, allocations: 36 kB / 1.156 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.9686, allocations: 26.19 kB / 1.156 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.9708, allocations: 1.025 MB / 1.157 GB, free: 10.09 MB / 0.9044 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.008876/0.9797, allocations: 6.546 MB / 1.163 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.9812, allocations: 0.6335 MB / 1.164 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/0.9819, allocations: 413.1 kB / 1.164 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002702/0.9846, allocations: 1.716 MB / 1.166 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008641/0.9855, allocations: 390 kB / 1.167 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004698/0.986, allocations: 74.16 kB / 1.167 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 2.524e-06/0.986, allocations: 0 / 1.167 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.003704/0.9897, allocations: 1.37 MB / 1.168 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.9898, allocations: 56.66 kB / 1.168 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.9921, allocations: 1.798 MB / 1.17 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.9922, allocations: 40.39 kB / 1.17 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.9929, allocations: 0.859 MB / 1.171 GB, free: 15.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.9931, allocations: 159.9 kB / 1.171 GB, free: 15.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.9934, allocations: 186.7 kB / 1.171 GB, free: 15.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9935, allocations: 338.6 kB / 1.171 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.9942, allocations: 340.9 kB / 1.172 GB, free: 15.08 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.9953, allocations: 0.7585 MB / 1.172 GB, free: 14.34 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.997, allocations: 1.032 MB / 1.173 GB, free: 13.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.997, allocations: 2.344 kB / 1.173 GB, free: 13.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002683/0.9997, allocations: 1.349 MB / 1.175 GB, free: 12.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.9997, allocations: 36.42 kB / 1.175 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.9998, allocations: 10.38 kB / 1.175 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/1, allocations: 191.6 kB / 1.175 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/1.001, allocations: 180.5 kB / 1.175 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006631/1.002, allocations: 0.7548 MB / 1.176 GB, free: 12.01 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.003, allocations: 69.14 kB / 1.176 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/1.003, allocations: 52.78 kB / 1.176 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/1.004, allocations: 0.7321 MB / 1.177 GB, free: 11.54 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008991/1.005, allocations: 0.7325 MB / 1.177 GB, free: 10.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001441/1.007, allocations: 0.9627 MB / 1.178 GB, free: 10.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/1.007, allocations: 3.75 kB / 1.178 GB, free: 10.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002456/1.009, allocations: 1.304 MB / 1.18 GB, free: 9.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/1.009, allocations: 41.33 kB / 1.18 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.009, allocations: 9.938 kB / 1.18 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/1.009, allocations: 130.7 kB / 1.18 GB, free: 9.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/1.01, allocations: 174.8 kB / 1.18 GB, free: 9.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/1.012, allocations: 2.319 MB / 1.182 GB, free: 7.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.014, allocations: 63.06 kB / 1.182 GB, free: 7.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/1.014, allocations: 43.48 kB / 1.182 GB, free: 7.086 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000314/1.014, allocations: 242.8 kB / 1.183 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/1.014, allocations: 179.8 kB / 1.183 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.017, allocations: 1.047 MB / 1.184 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.017, allocations: 5.281 kB / 1.184 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.017, allocations: 1.125 kB / 1.184 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/1.018, allocations: 0.9897 MB / 1.185 GB, free: 5.477 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/1.022, allocations: 2.156 MB / 1.187 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.022, allocations: 4.969 kB / 1.187 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/1.023, allocations: 89.73 kB / 1.187 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/1.023, allocations: 144.5 kB / 1.187 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/1.023, allocations: 13.17 kB / 1.187 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006196/1.024, allocations: 0.7326 MB / 1.188 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.024, allocations: 0 / 1.188 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/1.027, allocations: 1.423 MB / 1.189 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/1.027, allocations: 290.5 kB / 1.189 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/1.028, allocations: 11.53 kB / 1.189 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/1.028, allocations: 40.92 kB / 1.189 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.028, allocations: 47 kB / 1.19 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/1.029, allocations: 26.67 kB / 1.19 GB, free: 2.172 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001871/1.03, allocations: 1.235 MB / 1.191 GB, free: 1.492 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.03, allocations: 1.281 kB / 1.191 GB, free: 1.492 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00268/1.033, allocations: 0.7903 MB / 1.192 GB, free: 1.336 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/1.034, allocations: 391.5 kB / 1.192 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003273/1.037, allocations: 1.525 MB / 1.193 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.037, allocations: 0 / 1.193 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/1.038, allocations: 363.9 kB / 1.194 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.042, allocations: 0.7617 MB / 1.194 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/1.047, allocations: 2.956 MB / 1.197 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.048, allocations: 1.483 MB / 1.199 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/1.048, allocations: 135.4 kB / 1.199 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of SimCode: time 1.112e-06/1.048, allocations: 0 / 1.199 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.04856/1.097, allocations: 37.61 MB / 1.236 GB, free: 5.539 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches