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.00117/0.00117, allocations: 104.9 kB / 15.98 MB, free: 6.352 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.001141/0.001141, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.295/2.295, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.09 kB / 0.8127 GB, free: 32.4 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2623, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03449/0.2968, allocations: 32.53 MB / 0.9815 GB, free: 8.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.3116, allocations: 10.41 MB / 0.9917 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.3133, allocations: 47.69 kB / 0.9917 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.3154, allocations: 0.6534 MB / 0.9924 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00403/0.3195, allocations: 1.455 MB / 0.9938 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.323, allocations: 1.306 MB / 0.9951 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006281/0.3293, allocations: 4.917 MB / 0.9999 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.3322, allocations: 2.054 MB / 1.002 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.3363, allocations: 1.944 MB / 1.004 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.3385, allocations: 1.42 MB / 1.005 GB, free: 320 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005007/0.3391, allocations: 144 kB / 1.005 GB, free: 176 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.3418, allocations: 1.162 MB / 1.006 GB, free: 15.01 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007322/0.3425, allocations: 478.3 kB / 1.007 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.3442, allocations: 1.01 MB / 1.008 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.347, allocations: 2.23 MB / 1.01 GB, free: 11.29 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.347, allocations: 3.984 kB / 1.01 GB, free: 11.29 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.347, allocations: 0 / 1.01 GB, free: 11.29 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.632e-05/0.3471, allocations: 0 / 1.01 GB, free: 11.29 MB / 0.795 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.003767/0.3509, allocations: 2.388 MB / 1.012 GB, free: 8.828 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3509, allocations: 11.97 kB / 1.012 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.3527, allocations: 394 kB / 1.013 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.3559, allocations: 1.676 MB / 1.014 GB, free: 6.707 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.356, allocations: 78 kB / 1.014 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.3562, allocations: 104 kB / 1.015 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.3588, allocations: 1.314 MB / 1.016 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.3588, allocations: 3.938 kB / 1.016 GB, free: 5.137 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.359, allocations: 40 kB / 1.016 GB, free: 5.098 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.359, allocations: 24 kB / 1.016 GB, free: 5.074 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.3612, allocations: 1.042 MB / 1.017 GB, free: 4.027 MB / 0.795 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.008512/0.3697, allocations: 6.796 MB / 1.024 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.3712, allocations: 0.637 MB / 1.024 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/0.372, allocations: 417.6 kB / 1.025 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.3748, allocations: 1.702 MB / 1.026 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008585/0.3757, allocations: 385.1 kB / 1.027 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006219/0.3763, allocations: 103.3 kB / 1.027 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=46): time 3.186e-06/0.3764, allocations: 0 / 1.027 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=46): time 0.00388/0.3802, allocations: 1.378 MB / 1.028 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3803, allocations: 59.41 kB / 1.028 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.383, allocations: 1.781 MB / 1.03 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.3831, allocations: 37.7 kB / 1.03 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/0.3839, allocations: 0.8616 MB / 1.031 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.3841, allocations: 149.8 kB / 1.031 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.3844, allocations: 198.3 kB / 1.031 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3846, allocations: 337.9 kB / 1.031 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/0.3853, allocations: 344.6 kB / 1.032 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.3863, allocations: 0.7634 MB / 1.032 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.3881, allocations: 1.034 MB / 1.033 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3881, allocations: 0 / 1.033 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002928/0.391, allocations: 1.348 MB / 1.035 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3911, allocations: 41.86 kB / 1.035 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.3911, allocations: 8 kB / 1.035 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/0.3918, allocations: 188.7 kB / 1.035 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.3925, allocations: 183.7 kB / 1.035 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006854/0.3932, allocations: 0.7628 MB / 1.036 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.3945, allocations: 96.5 kB / 1.036 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.3946, allocations: 51.97 kB / 1.036 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/0.3959, allocations: 0.7282 MB / 1.037 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009147/0.3968, allocations: 0.7285 MB / 1.038 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001499/0.3983, allocations: 0.9678 MB / 1.038 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.127e-05/0.3983, allocations: 4 kB / 1.038 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002445/0.4008, allocations: 1.319 MB / 1.04 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.4008, allocations: 33.7 kB / 1.04 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4009, allocations: 12 kB / 1.04 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.4011, allocations: 116.8 kB / 1.04 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.4018, allocations: 176 kB / 1.04 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.4041, allocations: 2.326 MB / 1.042 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.4053, allocations: 104.5 kB / 1.042 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.544e-05/0.4054, allocations: 51.92 kB / 1.043 GB, free: 8.145 MB / 0.8262 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 (85): * Single equations (assignments): 82 * 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.0003227/0.4058, allocations: 239.1 kB / 1.043 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.4061, allocations: 173.8 kB / 1.043 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.4085, allocations: 1.055 MB / 1.044 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.4086, allocations: 11.92 kB / 1.044 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4086, allocations: 0 / 1.044 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/0.4103, allocations: 0.9919 MB / 1.045 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/0.4144, allocations: 2.179 MB / 1.047 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4144, allocations: 4 kB / 1.047 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.415, allocations: 91.8 kB / 1.047 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/0.4153, allocations: 136.7 kB / 1.047 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.4153, allocations: 15.98 kB / 1.047 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005685/0.4159, allocations: 0.728 MB / 1.048 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4159, allocations: 32 / 1.048 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.4187, allocations: 1.425 MB / 1.049 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.4194, allocations: 298.9 kB / 1.05 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.4197, allocations: 12 kB / 1.05 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.4206, allocations: 79.83 kB / 1.05 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4208, allocations: 44.33 kB / 1.05 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.738e-05/0.4208, allocations: 27.97 kB / 1.05 GB, free: 424 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001997/0.4228, allocations: 1.231 MB / 1.051 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4229, allocations: 0 / 1.051 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002408/0.4253, allocations: 0.7876 MB / 1.052 GB, free: 14.37 MB / 0.8419 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 (41): * Single equations (assignments): 35 * 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.001067/0.4263, allocations: 383.7 kB / 1.052 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003424/0.4298, allocations: 1.591 MB / 1.054 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4298, allocations: 4 kB / 1.054 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008225/0.4306, allocations: 350.3 kB / 1.054 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/0.4341, allocations: 0.788 MB / 1.055 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.4399, allocations: 3.55 MB / 1.058 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.4412, allocations: 1.488 MB / 1.06 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.4417, allocations: 143.3 kB / 1.06 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of SimCode: time 9.61e-07/0.4417, allocations: 0 / 1.06 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of Templates: time 0.4594/0.9011, allocations: 37.25 MB / 1.096 GB, free: 126.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches