Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.00148/0.00148, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.151/2.151, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.89 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7427, 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.Example1v2): time 0.08353/0.8263, allocations: 80.66 MB / 1.167 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03007/0.8564, allocations: 19.28 MB / 1.186 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00526/0.8617, allocations: 105.8 kB / 1.186 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.8659, allocations: 1.158 MB / 1.187 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009424/0.8753, allocations: 2.846 MB / 1.19 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007172/0.8825, allocations: 2.411 MB / 1.193 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.03107/0.9136, allocations: 26.93 MB / 1.219 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02254/0.9362, allocations: 17 MB / 1.235 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02346/0.9597, allocations: 11.42 MB / 1.247 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02064/0.9804, allocations: 11.66 MB / 1.258 GB, free: 408 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.005206/0.9856, allocations: 1.281 MB / 1.259 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/0.9965, allocations: 2.572 MB / 1.262 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007475/1.004, allocations: 3.634 MB / 1.265 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0142/1.018, allocations: 6.481 MB / 1.272 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02515/1.043, allocations: 18.49 MB / 1.29 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.044, allocations: 0 / 1.29 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/1.044, allocations: 3.938 kB / 1.29 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0005518/1.044, allocations: 0 / 1.29 GB, free: 15.84 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03745/1.082, allocations: 12.21 MB / 1.302 GB, free: 3.523 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.082, allocations: 12.03 kB / 1.302 GB, free: 3.512 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009055/1.091, allocations: 1.339 MB / 1.303 GB, free: 2.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02455/1.115, allocations: 10.16 MB / 1.313 GB, free: 7.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004645/1.116, allocations: 435.1 kB / 1.313 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003401/1.119, allocations: 0.5818 MB / 1.314 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03482/1.154, allocations: 14.65 MB / 1.328 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002927/1.154, allocations: 19.78 kB / 1.328 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003139/1.157, allocations: 248 kB / 1.328 GB, free: 7.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.158, allocations: 140 kB / 1.329 GB, free: 7.594 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03455/1.192, allocations: 19.8 MB / 1.348 GB, free: 3.766 MB / 1.076 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.1123/1.305, allocations: 60.1 MB / 1.407 GB, free: 6.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/1.32, allocations: 9.218 MB / 1.416 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02062/1.341, allocations: 8.608 MB / 1.424 GB, free: 4.312 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1011/1.442, allocations: 27.47 MB / 1.451 GB, free: 8.465 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0228/1.465, allocations: 7.663 MB / 1.458 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02976/1.495, allocations: 4.487 MB / 1.463 GB, free: 12.26 MB / 1.201 GB Notification: Performance of pre-optimization done (n=299): time 3.743e-05/1.495, allocations: 0 / 1.463 GB, free: 12.26 MB / 1.201 GB Notification: Performance of matching and sorting (n=299): time 0.06848/1.563, allocations: 23.38 MB / 1.486 GB, free: 4.746 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/1.563, allocations: 81.77 kB / 1.486 GB, free: 4.652 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01653/1.58, allocations: 8.245 MB / 1.494 GB, free: 12.43 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.002106/1.582, allocations: 101.7 kB / 1.494 GB, free: 12.32 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00535/1.587, allocations: 4.06 MB / 1.498 GB, free: 8.227 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003386/1.591, allocations: 1.079 MB / 1.499 GB, free: 7.133 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007245/1.598, allocations: 1.669 MB / 1.5 GB, free: 5.449 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.598, allocations: 301.1 kB / 1.501 GB, free: 5.152 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/1.61, allocations: 6.567 MB / 1.507 GB, free: 14.56 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/1.623, allocations: 8.349 MB / 1.515 GB, free: 5.371 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02381/1.647, allocations: 15.28 MB / 1.53 GB, free: 5.383 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.338e-05/1.647, allocations: 20 kB / 1.53 GB, free: 5.363 MB / 1.264 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03878/1.686, allocations: 17.62 MB / 1.547 GB, free: 3.684 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/1.686, allocations: 55.56 kB / 1.547 GB, free: 3.625 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.03e-05/1.686, allocations: 48 kB / 1.548 GB, free: 3.578 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07537/1.761, allocations: 11.58 MB / 1.559 GB, free: 7.977 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008731/1.77, allocations: 1.55 MB / 1.56 GB, free: 6.422 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/1.776, allocations: 3.782 MB / 1.564 GB, free: 2.559 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009875/1.786, allocations: 352.2 kB / 1.564 GB, free: 2.215 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002442/1.789, allocations: 0.5382 MB / 1.565 GB, free: 1.676 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0165/1.805, allocations: 8.846 MB / 1.574 GB, free: 8.812 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.9594/2.765, allocations: 8.297 MB / 1.582 GB, free: 423.3 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02169/2.786, allocations: 15.19 MB / 1.596 GB, free: 417.7 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.182e-05/2.786, allocations: 13.97 kB / 1.596 GB, free: 417.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03028/2.817, allocations: 17.45 MB / 1.614 GB, free: 411.7 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/2.817, allocations: 56.66 kB / 1.614 GB, free: 411.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.068e-05/2.817, allocations: 60.34 kB / 1.614 GB, free: 411.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07349/2.89, allocations: 11.13 MB / 1.625 GB, free: 410.7 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008696/2.899, allocations: 1.553 MB / 1.626 GB, free: 410.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009064/2.908, allocations: 8.171 MB / 1.634 GB, free: 405.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008913/2.917, allocations: 352.3 kB / 1.634 GB, free: 405.3 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/2.918, allocations: 0.5355 MB / 1.635 GB, free: 405.3 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001947/2.92, allocations: 490.6 kB / 1.635 GB, free: 404.9 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/2.922, allocations: 0.7663 MB / 1.636 GB, free: 404.9 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0232/2.945, allocations: 14.22 MB / 1.65 GB, free: 399.2 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01395/2.959, allocations: 10.82 MB / 1.661 GB, free: 393.1 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/2.959, allocations: 0 / 1.661 GB, free: 393.1 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005259/2.965, allocations: 1.814 MB / 1.662 GB, free: 392.1 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/2.966, allocations: 72.42 kB / 1.662 GB, free: 392.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004764/2.971, allocations: 210.7 kB / 1.663 GB, free: 392 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008029/2.972, allocations: 255.8 kB / 1.663 GB, free: 391.8 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01731/2.989, allocations: 11.75 MB / 1.674 GB, free: 385.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02047/3.01, allocations: 19.38 MB / 1.693 GB, free: 367.8 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005393/3.015, allocations: 6.034 MB / 1.699 GB, free: 361.8 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.006829/3.022, allocations: 5.699 MB / 1.705 GB, free: 356.1 MB / 1.311 GB Notification: Performance of Backend: time 1.783e-06/3.022, allocations: 3.938 kB / 1.705 GB, free: 356.1 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03011/3.052, allocations: 19.2 MB / 1.723 GB, free: 337 MB / 1.311 GB Notification: Performance of SimCode: time 0.03281/3.085, allocations: 20.88 MB / 1.744 GB, free: 316.2 MB / 1.311 GB Notification: Performance of Templates: time 0.3003/3.385, allocations: 272.2 MB / 2.01 GB, free: 45.5 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches