Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00148/0.00148, allocations: 99.61 kB / 16.27 MB, free: 5.969 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.001369/0.001369, allocations: 191.9 kB / 17.2 MB, free: 5.594 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.1 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002955/0.002955, allocations: 68.05 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3149, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.0383/0.3532, allocations: 33.2 MB / 1.05 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.3727, allocations: 12.3 MB / 1.062 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.3747, allocations: 51.75 kB / 1.062 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.008472/0.3832, allocations: 3.97 MB / 1.066 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.3882, allocations: 1.629 MB / 1.068 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.3923, allocations: 1.448 MB / 1.069 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.4895/0.8817, allocations: 7.657 MB / 1.077 GB, free: 17.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.885, allocations: 2.089 MB / 1.079 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004601/0.8896, allocations: 1.869 MB / 1.081 GB, free: 17.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003155/0.8928, allocations: 1.406 MB / 1.082 GB, free: 17.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006253/0.8935, allocations: 148.9 kB / 1.082 GB, free: 17.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.8973, allocations: 1.329 MB / 1.083 GB, free: 17.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009847/0.8983, allocations: 0.5966 MB / 1.084 GB, free: 17.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002468/0.9008, allocations: 1.187 MB / 1.085 GB, free: 16.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006595/0.9074, allocations: 3.459 MB / 1.089 GB, free: 16.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.9074, allocations: 1.641 kB / 1.089 GB, free: 16.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9075, allocations: 0 / 1.089 GB, free: 16.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.881e-05/0.9076, allocations: 0 / 1.089 GB, free: 16.2 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.006118/0.9137, allocations: 2.797 MB / 1.091 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.9137, allocations: 20.06 kB / 1.091 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.9159, allocations: 432.9 kB / 1.092 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.9214, allocations: 2.638 MB / 1.094 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.9216, allocations: 85.05 kB / 1.094 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.9218, allocations: 105.3 kB / 1.095 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.9245, allocations: 1.318 MB / 1.096 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.9245, allocations: 5.625 kB / 1.096 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.9247, allocations: 42.5 kB / 1.096 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.9247, allocations: 32.72 kB / 1.096 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.9269, allocations: 1.02 MB / 1.097 GB, free: 13.72 MB / 0.8419 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.009678/0.9366, allocations: 6.925 MB / 1.104 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.9382, allocations: 0.5968 MB / 1.104 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.939, allocations: 406.2 kB / 1.105 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003665/0.9427, allocations: 1.764 MB / 1.106 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008666/0.9436, allocations: 368.8 kB / 1.107 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008986/0.9445, allocations: 95.41 kB / 1.107 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 3.817e-06/0.9445, allocations: 1.219 kB / 1.107 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.004016/0.9485, allocations: 1.37 MB / 1.108 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.9486, allocations: 56.97 kB / 1.108 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004168/0.9527, allocations: 2.367 MB / 1.11 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.953, allocations: 46.3 kB / 1.111 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000888/0.9539, allocations: 0.9911 MB / 1.112 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.9541, allocations: 165.2 kB / 1.112 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/0.9546, allocations: 295.7 kB / 1.112 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.9547, allocations: 362.7 kB / 1.112 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.9557, allocations: 0.4985 MB / 1.113 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.9569, allocations: 0.9918 MB / 1.114 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.9588, allocations: 1.342 MB / 1.115 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.9589, allocations: 4.406 kB / 1.115 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003677/0.9626, allocations: 1.81 MB / 1.117 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.9626, allocations: 36.47 kB / 1.117 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.9627, allocations: 12.34 kB / 1.117 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.9633, allocations: 194.6 kB / 1.117 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.9642, allocations: 229 kB / 1.117 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005979/0.9648, allocations: 0.7634 MB / 1.118 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.9667, allocations: 83.72 kB / 1.118 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.9668, allocations: 61.44 kB / 1.118 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002014/0.9688, allocations: 1.018 MB / 1.119 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001076/0.9699, allocations: 0.9724 MB / 1.12 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001656/0.9716, allocations: 1.306 MB / 1.121 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.217e-06/0.9716, allocations: 3.969 kB / 1.121 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003393/0.975, allocations: 1.799 MB / 1.123 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.9751, allocations: 36.39 kB / 1.123 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.9751, allocations: 15.91 kB / 1.123 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.9754, allocations: 123.8 kB / 1.123 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.9762, allocations: 217.3 kB / 1.124 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.9785, allocations: 2.336 MB / 1.126 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.9805, allocations: 84.67 kB / 1.126 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.9807, allocations: 56.02 kB / 1.126 GB, free: 14.89 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0004701/0.9812, allocations: 247.5 kB / 1.126 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000594/0.9818, allocations: 210.5 kB / 1.126 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.9845, allocations: 1.043 MB / 1.127 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.9845, allocations: 5.5 kB / 1.127 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9845, allocations: 1.156 kB / 1.127 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001772/0.9863, allocations: 0.9762 MB / 1.128 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005212/0.9915, allocations: 2.31 MB / 1.131 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9916, allocations: 0.7812 kB / 1.131 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.9921, allocations: 85.95 kB / 1.131 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/0.9924, allocations: 131.5 kB / 1.131 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.9924, allocations: 19.06 kB / 1.131 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/0.9931, allocations: 0.741 MB / 1.132 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9931, allocations: 3.938 kB / 1.132 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.9962, allocations: 1.416 MB / 1.133 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.9973, allocations: 349.8 kB / 1.133 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.9975, allocations: 12.02 kB / 1.133 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.9983, allocations: 49.62 kB / 1.133 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.9985, allocations: 41.69 kB / 1.133 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.9985, allocations: 21.66 kB / 1.133 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002724/1.001, allocations: 1.613 MB / 1.135 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/1.001, allocations: 1.375 kB / 1.135 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003375/1.005, allocations: 0.9499 MB / 1.136 GB, free: 10.29 MB / 0.8575 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 (38): * Single equations (assignments): 32 * 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.001419/1.006, allocations: 0.5135 MB / 1.136 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004097/1.01, allocations: 2.073 MB / 1.138 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.01, allocations: 2.844 kB / 1.138 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007876/1.011, allocations: 340.8 kB / 1.139 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004845/1.016, allocations: 0.9781 MB / 1.14 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/1.025, allocations: 3.772 MB / 1.143 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/1.026, allocations: 1.661 MB / 1.145 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006848/1.027, allocations: 166.6 kB / 1.145 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of SimCode: time 9.12e-07/1.027, allocations: 0 / 1.145 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of Templates: time 0.07018/1.097, allocations: 45.18 MB / 1.189 GB, free: 14.21 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches