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.00649/0.00649, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001444/0.001444, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.404/2.404, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8494, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03482/0.8843, allocations: 33.2 MB / 1.199 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.9025, allocations: 12.31 MB / 1.211 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.9046, allocations: 55.69 kB / 1.211 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004586/0.9092, allocations: 1.535 MB / 1.213 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.914, allocations: 1.786 MB / 1.214 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.9189, allocations: 1.506 MB / 1.216 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.9325, allocations: 7.798 MB / 1.223 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/0.9365, allocations: 2.109 MB / 1.225 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00549/0.942, allocations: 1.944 MB / 1.227 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.9448, allocations: 1.435 MB / 1.229 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003553/0.9451, allocations: 152 kB / 1.229 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.9485, allocations: 1.346 MB / 1.23 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006927/0.9493, allocations: 0.5994 MB / 1.231 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.951, allocations: 1.205 MB / 1.232 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0081/0.9591, allocations: 3.557 MB / 1.235 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.9592, allocations: 0 / 1.235 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.534e-06/0.9592, allocations: 0 / 1.235 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001003/0.9593, allocations: 0 / 1.235 GB, free: 13.02 MB / 0.9669 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.00844/0.9677, allocations: 2.902 MB / 1.238 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.9678, allocations: 12.88 kB / 1.238 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.9707, allocations: 446.1 kB / 1.239 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008673/0.9794, allocations: 2.769 MB / 1.241 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.9796, allocations: 78 kB / 1.242 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.98, allocations: 112 kB / 1.242 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.9843, allocations: 1.323 MB / 1.243 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.9843, allocations: 7.938 kB / 1.243 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.9845, allocations: 40 kB / 1.243 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.9845, allocations: 24 kB / 1.243 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.9886, allocations: 1.019 MB / 1.244 GB, free: 4.078 MB / 0.9669 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.01641/1.005, allocations: 6.912 MB / 1.251 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/1.008, allocations: 0.5952 MB / 1.251 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/1.009, allocations: 397.8 kB / 1.252 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005723/1.015, allocations: 1.782 MB / 1.253 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/1.016, allocations: 366.9 kB / 1.254 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/1.018, allocations: 95.38 kB / 1.254 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 7.845e-06/1.018, allocations: 0 / 1.254 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.007085/1.025, allocations: 1.381 MB / 1.255 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/1.025, allocations: 55.41 kB / 1.255 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00825/1.033, allocations: 2.384 MB / 1.258 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/1.033, allocations: 41.7 kB / 1.258 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00213/1.036, allocations: 1.001 MB / 1.259 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/1.036, allocations: 170.6 kB / 1.259 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/1.037, allocations: 294.7 kB / 1.259 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.038, allocations: 361.9 kB / 1.259 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/1.04, allocations: 0.4978 MB / 1.26 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/1.042, allocations: 0.9955 MB / 1.261 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/1.046, allocations: 1.339 MB / 1.262 GB, free: 404 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/1.046, allocations: 8 kB / 1.262 GB, free: 396 kB / 0.9825 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006655/1.053, allocations: 1.807 MB / 1.264 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.375e-05/1.053, allocations: 41.64 kB / 1.264 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/1.053, allocations: 12.81 kB / 1.264 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/1.054, allocations: 198.2 kB / 1.264 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.056, allocations: 227.7 kB / 1.264 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/1.057, allocations: 0.763 MB / 1.265 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.059, allocations: 67.95 kB / 1.265 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.059, allocations: 60.05 kB / 1.265 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002481/1.062, allocations: 1.022 MB / 1.266 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001692/1.064, allocations: 0.9655 MB / 1.267 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002551/1.066, allocations: 1.303 MB / 1.268 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.261e-05/1.066, allocations: 4 kB / 1.268 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003496/1.07, allocations: 1.806 MB / 1.27 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/1.07, allocations: 37.7 kB / 1.27 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.07, allocations: 12.81 kB / 1.27 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/1.07, allocations: 132.3 kB / 1.27 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/1.071, allocations: 223.6 kB / 1.271 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/1.073, allocations: 2.322 MB / 1.273 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.075, allocations: 88.48 kB / 1.273 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.075, allocations: 51.98 kB / 1.273 GB, free: 4.648 MB / 0.9981 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.000349/1.075, allocations: 257.3 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/1.076, allocations: 226.4 kB / 1.274 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/1.078, allocations: 1.029 MB / 1.275 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.078, allocations: 4 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.078, allocations: 0 / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001683/1.08, allocations: 0.9701 MB / 1.275 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/1.085, allocations: 2.311 MB / 1.278 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.085, allocations: 0 / 1.278 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/1.086, allocations: 91.86 kB / 1.278 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003055/1.086, allocations: 116.8 kB / 1.278 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/1.086, allocations: 19.97 kB / 1.278 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006251/1.087, allocations: 0.7509 MB / 1.279 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.087, allocations: 4.031 kB / 1.279 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.09, allocations: 1.414 MB / 1.28 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.091, allocations: 367.5 kB / 1.28 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/1.092, allocations: 11.98 kB / 1.28 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.093, allocations: 43.95 kB / 1.28 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.093, allocations: 36.45 kB / 1.28 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/1.093, allocations: 27.97 kB / 1.281 GB, free: 12.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00333/1.096, allocations: 1.627 MB / 1.282 GB, free: 11.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.096, allocations: 0 / 1.282 GB, free: 11.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003487/1.1, allocations: 0.9593 MB / 1.283 GB, free: 10.16 MB / 1.014 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.001451/1.101, allocations: 0.5155 MB / 1.284 GB, free: 9.645 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004134/1.106, allocations: 2.022 MB / 1.286 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.106, allocations: 4 kB / 1.286 GB, free: 7.586 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/1.106, allocations: 330.3 kB / 1.286 GB, free: 7.266 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/1.111, allocations: 0.9784 MB / 1.287 GB, free: 6.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/1.12, allocations: 3.71 MB / 1.29 GB, free: 2.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/1.121, allocations: 1.678 MB / 1.292 GB, free: 0.832 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002251/1.124, allocations: 0.5671 MB / 1.293 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/1.124, allocations: 163.4 kB / 1.293 GB, free: 104 kB / 1.014 GB Notification: Performance of SimCode: time 1.252e-06/1.124, allocations: 4 kB / 1.293 GB, free: 100 kB / 1.014 GB Notification: Performance of Templates: time 0.06846/1.193, allocations: 39.7 MB / 1.332 GB, free: 8.879 MB / 1.061 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches