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.001835/0.001835, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001964, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.376/2.376, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 55.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7341, allocations: 140.4 MB / 0.9496 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03829/0.7724, allocations: 32.77 MB / 0.9816 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.7899, allocations: 10.48 MB / 0.9918 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.793, allocations: 52.41 kB / 0.9919 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.7959, allocations: 0.7325 MB / 0.9926 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.8013, allocations: 1.571 MB / 0.9941 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/0.8056, allocations: 1.408 MB / 0.9955 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006809/0.8124, allocations: 4.87 MB / 1 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.8157, allocations: 2.07 MB / 1.002 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/0.8205, allocations: 1.894 MB / 1.004 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.8231, allocations: 1.353 MB / 1.005 GB, free: 8.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.8235, allocations: 143.9 kB / 1.006 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.8265, allocations: 1.166 MB / 1.007 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.8271, allocations: 466.3 kB / 1.007 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.8287, allocations: 1.014 MB / 1.008 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.8334, allocations: 2.913 MB / 1.011 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8334, allocations: 0 / 1.011 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8334, allocations: 4 kB / 1.011 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.282e-05/0.8335, allocations: 0 / 1.011 GB, free: 2.949 MB / 0.7637 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.00414/0.8376, allocations: 2.384 MB / 1.013 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.8377, allocations: 8.031 kB / 1.013 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.8395, allocations: 390.1 kB / 1.014 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.8426, allocations: 1.637 MB / 1.015 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.8427, allocations: 82 kB / 1.015 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.8428, allocations: 104 kB / 1.015 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.8451, allocations: 1.307 MB / 1.017 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.8451, allocations: 7.938 kB / 1.017 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.8452, allocations: 39.98 kB / 1.017 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.8453, allocations: 24 kB / 1.017 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.8473, allocations: 1.026 MB / 1.018 GB, free: 11.75 MB / 0.7794 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.008142/0.8554, allocations: 6.586 MB / 1.024 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.8569, allocations: 0.6424 MB / 1.025 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.8577, allocations: 413.8 kB / 1.025 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/0.8603, allocations: 1.696 MB / 1.027 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008363/0.8612, allocations: 387.6 kB / 1.027 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004425/0.8616, allocations: 83.33 kB / 1.027 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=45): time 2.836e-06/0.8617, allocations: 0 / 1.027 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.003691/0.8654, allocations: 1.382 MB / 1.029 GB, free: 15.97 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.8654, allocations: 55.41 kB / 1.029 GB, free: 15.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.8677, allocations: 1.796 MB / 1.031 GB, free: 14.07 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.8678, allocations: 45.7 kB / 1.031 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007513/0.8685, allocations: 0.8576 MB / 1.031 GB, free: 13.15 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.8687, allocations: 161.7 kB / 1.032 GB, free: 12.99 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.869, allocations: 186.5 kB / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8691, allocations: 337.9 kB / 1.032 GB, free: 12.46 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.8698, allocations: 340.6 kB / 1.032 GB, free: 12.13 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.8709, allocations: 0.7673 MB / 1.033 GB, free: 11.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.8726, allocations: 1.023 MB / 1.034 GB, free: 9.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.8726, allocations: 8 kB / 1.034 GB, free: 9.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002896/0.8755, allocations: 1.343 MB / 1.035 GB, free: 8.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.8756, allocations: 42.39 kB / 1.035 GB, free: 8.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.8756, allocations: 12 kB / 1.036 GB, free: 8.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006944/0.8763, allocations: 180.7 kB / 1.036 GB, free: 8.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.877, allocations: 179.7 kB / 1.036 GB, free: 8.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006725/0.8777, allocations: 0.7625 MB / 1.037 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.8789, allocations: 68.62 kB / 1.037 GB, free: 7.359 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.879, allocations: 43.98 kB / 1.037 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00142/0.8804, allocations: 0.736 MB / 1.037 GB, free: 6.578 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008879/0.8813, allocations: 0.7284 MB / 1.038 GB, free: 5.641 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001488/0.8828, allocations: 0.9678 MB / 1.039 GB, free: 4.527 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.603e-06/0.8828, allocations: 4 kB / 1.039 GB, free: 4.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002475/0.8853, allocations: 1.304 MB / 1.04 GB, free: 3.184 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.8854, allocations: 41.64 kB / 1.04 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.8854, allocations: 12 kB / 1.04 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.8857, allocations: 124.7 kB / 1.041 GB, free: 3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.8863, allocations: 179.6 kB / 1.041 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.8889, allocations: 2.306 MB / 1.043 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.8902, allocations: 68.62 kB / 1.043 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/0.8903, allocations: 43.98 kB / 1.043 GB, free: 276 kB / 0.795 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.0003919/0.8907, allocations: 246.9 kB / 1.043 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.891, allocations: 169.9 kB / 1.043 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.8936, allocations: 1.048 MB / 1.044 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.8937, allocations: 4 kB / 1.044 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.8937, allocations: 0 / 1.044 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/0.8953, allocations: 0.9897 MB / 1.045 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.8992, allocations: 2.171 MB / 1.048 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.8993, allocations: 0 / 1.048 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.8998, allocations: 91.86 kB / 1.048 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.9001, allocations: 120.8 kB / 1.048 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.9001, allocations: 28.03 kB / 1.048 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005858/0.9007, allocations: 0.7318 MB / 1.049 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9008, allocations: 0 / 1.049 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.9034, allocations: 1.419 MB / 1.05 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.904, allocations: 302.8 kB / 1.05 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.9042, allocations: 12 kB / 1.05 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.9049, allocations: 35.95 kB / 1.05 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.905, allocations: 44.33 kB / 1.05 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.9051, allocations: 28.03 kB / 1.05 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001678/0.9068, allocations: 1.239 MB / 1.052 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9068, allocations: 0 / 1.052 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002234/0.909, allocations: 0.7837 MB / 1.052 GB, free: 6.555 MB / 0.8106 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.0009619/0.91, allocations: 389.8 kB / 1.053 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003309/0.9133, allocations: 1.598 MB / 1.054 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9133, allocations: 0 / 1.054 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.9141, allocations: 347 kB / 1.055 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/0.9176, allocations: 0.7781 MB / 1.055 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.9224, allocations: 2.935 MB / 1.058 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.9234, allocations: 1.495 MB / 1.06 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0018/0.9252, allocations: 458 kB / 1.06 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.9255, allocations: 127.4 kB / 1.06 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of SimCode: time 1.152e-06/0.9255, allocations: 0 / 1.06 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.05582/0.9814, allocations: 31.69 MB / 1.091 GB, free: 15.1 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches