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.00737/0.00737, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.00193/0.00193, allocations: 188.7 kB / 16.67 MB, free: 5.965 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.37/1.37, 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.439/2.439, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.84 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8496, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03257/0.8822, allocations: 33.21 MB / 1.199 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.9037, allocations: 12.3 MB / 1.211 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.9067, allocations: 55.69 kB / 1.211 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005061/0.9118, allocations: 1.527 MB / 1.213 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.9169, allocations: 1.731 MB / 1.214 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.9208, allocations: 1.513 MB / 1.216 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01183/0.9327, allocations: 7.786 MB / 1.223 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003486/0.9362, allocations: 2.113 MB / 1.225 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005094/0.9413, allocations: 1.912 MB / 1.227 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.9442, allocations: 1.428 MB / 1.229 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004022/0.9447, allocations: 155.9 kB / 1.229 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.9481, allocations: 1.349 MB / 1.23 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007717/0.9489, allocations: 0.5956 MB / 1.231 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.951, allocations: 1.209 MB / 1.232 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.9572, allocations: 3.549 MB / 1.235 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9573, allocations: 0 / 1.235 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9573, allocations: 8 kB / 1.235 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.218e-05/0.9574, allocations: 0 / 1.235 GB, free: 13.14 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.005349/0.9627, allocations: 2.901 MB / 1.238 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.9628, allocations: 12.88 kB / 1.238 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.9648, allocations: 442.1 kB / 1.239 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.9699, allocations: 2.777 MB / 1.241 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/0.97, allocations: 82 kB / 1.241 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.9702, allocations: 108 kB / 1.242 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.9726, allocations: 1.323 MB / 1.243 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.9727, allocations: 7.984 kB / 1.243 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9728, allocations: 43.94 kB / 1.243 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.9728, allocations: 24 kB / 1.243 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.975, allocations: 1.022 MB / 1.244 GB, free: 4.184 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.008882/0.9839, allocations: 6.907 MB / 1.251 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.9853, allocations: 0.5932 MB / 1.251 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.9861, allocations: 397.8 kB / 1.252 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0029/0.989, allocations: 1.774 MB / 1.253 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008109/0.9898, allocations: 367 kB / 1.254 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005769/0.9904, allocations: 91.38 kB / 1.254 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.9904, allocations: 0 / 1.254 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.003631/0.9941, allocations: 1.381 MB / 1.255 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.9941, allocations: 55.41 kB / 1.255 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.9974, allocations: 2.388 MB / 1.258 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/0.9975, allocations: 37.7 kB / 1.258 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009383/0.9985, allocations: 1.005 MB / 1.259 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.9987, allocations: 174.6 kB / 1.259 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/0.9991, allocations: 294.7 kB / 1.259 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9993, allocations: 361.9 kB / 1.259 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009273/1, allocations: 0.4939 MB / 1.26 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/1.002, allocations: 0.997 MB / 1.261 GB, free: 2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/1.004, allocations: 1.335 MB / 1.262 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.004, allocations: 0 / 1.262 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003638/1.007, allocations: 1.812 MB / 1.264 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/1.007, allocations: 41.64 kB / 1.264 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.007, allocations: 12 kB / 1.264 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/1.008, allocations: 195.8 kB / 1.264 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/1.009, allocations: 227.6 kB / 1.264 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/1.01, allocations: 0.7553 MB / 1.265 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.011, allocations: 76.02 kB / 1.265 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.011, allocations: 55.98 kB / 1.265 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001729/1.013, allocations: 1.022 MB / 1.266 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00119/1.014, allocations: 0.9733 MB / 1.267 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00181/1.016, allocations: 1.303 MB / 1.268 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.146e-06/1.016, allocations: 7.938 kB / 1.268 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003258/1.019, allocations: 1.802 MB / 1.27 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/1.019, allocations: 38.52 kB / 1.27 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.019, allocations: 12 kB / 1.27 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/1.02, allocations: 128.8 kB / 1.27 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/1.02, allocations: 219.6 kB / 1.271 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/1.023, allocations: 2.337 MB / 1.273 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.024, allocations: 84.5 kB / 1.273 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/1.024, allocations: 51.98 kB / 1.273 GB, free: 4.766 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.0003188/1.025, allocations: 256 kB / 1.273 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/1.025, allocations: 226.4 kB / 1.273 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/1.027, allocations: 1.022 MB / 1.274 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.027, allocations: 4 kB / 1.274 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/1.027, allocations: 0 / 1.274 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/1.029, allocations: 0.9662 MB / 1.275 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/1.033, allocations: 2.315 MB / 1.278 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.033, allocations: 4 kB / 1.278 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/1.034, allocations: 87.86 kB / 1.278 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/1.034, allocations: 120.8 kB / 1.278 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/1.034, allocations: 23.97 kB / 1.278 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006737/1.035, allocations: 0.7396 MB / 1.279 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.035, allocations: 0 / 1.279 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/1.038, allocations: 1.418 MB / 1.28 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/1.039, allocations: 367.5 kB / 1.28 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.039, allocations: 19.98 kB / 1.28 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/1.04, allocations: 48.02 kB / 1.28 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.04, allocations: 32.39 kB / 1.28 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/1.04, allocations: 27.97 kB / 1.28 GB, free: 12.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002515/1.042, allocations: 1.627 MB / 1.282 GB, free: 11.24 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.042, allocations: 0 / 1.282 GB, free: 11.24 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003211/1.046, allocations: 0.9594 MB / 1.283 GB, free: 10.28 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.001305/1.047, allocations: 0.5207 MB / 1.283 GB, free: 9.758 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003723/1.051, allocations: 2.018 MB / 1.285 GB, free: 7.707 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.051, allocations: 3.938 kB / 1.285 GB, free: 7.703 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007784/1.052, allocations: 339.2 kB / 1.286 GB, free: 7.375 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/1.055, allocations: 0.9738 MB / 1.287 GB, free: 6.414 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/1.062, allocations: 3.715 MB / 1.29 GB, free: 2.656 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.063, allocations: 1.674 MB / 1.292 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001864/1.065, allocations: 0.571 MB / 1.293 GB, free: 384 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/1.066, allocations: 163.4 kB / 1.293 GB, free: 220 kB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.066, allocations: 0 / 1.293 GB, free: 220 kB / 1.014 GB Notification: Performance of Templates: time 0.07362/1.139, allocations: 39.7 MB / 1.331 GB, free: 8.992 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