Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 177.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000934/0.000934, allocations: 89.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 9.688 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.292, allocations: 415.1 MB / 1.305 GB, free: 15.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.293, allocations: 97.45 kB / 1.306 GB, free: 15.79 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.901/6.194, allocations: 1.312 GB / 2.618 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.254e-06/6.194, allocations: 0 / 2.618 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005292/6.194, allocations: 99.98 kB / 2.618 GB, free: 145.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01563/6.21, allocations: 4.046 MB / 2.622 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/6.21, allocations: 8.031 kB / 2.622 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004128/6.214, allocations: 0.5345 MB / 2.622 GB, free: 140.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/6.227, allocations: 4.354 MB / 2.626 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/6.228, allocations: 147.1 kB / 2.627 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/6.228, allocations: 188 kB / 2.627 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/6.232, allocations: 2.226 MB / 2.629 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/6.232, allocations: 3.938 kB / 2.629 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/6.232, allocations: 75.94 kB / 2.629 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/6.232, allocations: 43.84 kB / 2.629 GB, free: 133.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/6.235, allocations: 1.775 MB / 2.631 GB, free: 131.8 MB / 0.9011 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.01703/6.252, allocations: 11.53 MB / 2.642 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/6.254, allocations: 1.265 MB / 2.643 GB, free: 118.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/6.261, allocations: 3.453 MB / 2.647 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/6.262, allocations: 0.7192 MB / 2.647 GB, free: 114 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002243/6.264, allocations: 0.6116 MB / 2.648 GB, free: 113.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 4.388e-06/6.264, allocations: 0 / 2.648 GB, free: 113.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.008155/6.273, allocations: 3.556 MB / 2.651 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/6.273, allocations: 72.34 kB / 2.651 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/6.277, allocations: 2.48 MB / 2.654 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/6.277, allocations: 57.7 kB / 2.654 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/6.278, allocations: 1.42 MB / 2.655 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/6.278, allocations: 350.9 kB / 2.656 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/6.278, allocations: 35.94 kB / 2.656 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000115/6.279, allocations: 361.9 kB / 2.656 GB, free: 105 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009815/6.28, allocations: 0.5543 MB / 2.657 GB, free: 104.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/6.281, allocations: 1.33 MB / 2.658 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/6.282, allocations: 0.7858 MB / 2.659 GB, free: 102 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/6.282, allocations: 4 kB / 2.659 GB, free: 102 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004103/6.286, allocations: 2.438 MB / 2.661 GB, free: 99.56 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001519/6.288, allocations: 5.988 MB / 2.667 GB, free: 93.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/6.288, allocations: 12 kB / 2.667 GB, free: 93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/6.289, allocations: 0.5078 MB / 2.667 GB, free: 92.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/6.29, allocations: 273.4 kB / 2.668 GB, free: 92.24 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/6.291, allocations: 1.893 MB / 2.67 GB, free: 90.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/6.294, allocations: 176.2 kB / 2.67 GB, free: 90.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/6.294, allocations: 78.55 kB / 2.67 GB, free: 90.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/6.294, allocations: 4 kB / 2.67 GB, free: 90.04 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003135/6.297, allocations: 2.213 MB / 2.672 GB, free: 87.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/6.298, allocations: 12 kB / 2.672 GB, free: 87.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007466/6.298, allocations: 473.6 kB / 2.672 GB, free: 87.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/6.299, allocations: 253.5 kB / 2.673 GB, free: 87.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/6.305, allocations: 5.959 MB / 2.678 GB, free: 80.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/6.307, allocations: 172.1 kB / 2.679 GB, free: 80.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/6.308, allocations: 75.36 kB / 2.679 GB, free: 80.61 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001871/6.309, allocations: 0.8259 MB / 2.68 GB, free: 79.77 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/6.31, allocations: 300.2 kB / 2.68 GB, free: 79.47 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/6.314, allocations: 2.176 MB / 2.682 GB, free: 77.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/6.314, allocations: 15.98 kB / 2.682 GB, free: 77.29 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/6.314, allocations: 4 kB / 2.682 GB, free: 77.29 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002453/6.316, allocations: 1.894 MB / 2.684 GB, free: 75.35 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007016/6.323, allocations: 4.14 MB / 2.688 GB, free: 71.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/6.323, allocations: 4.062 kB / 2.688 GB, free: 71.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/6.324, allocations: 129.7 kB / 2.688 GB, free: 71.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008842/6.325, allocations: 478.4 kB / 2.688 GB, free: 70.58 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/6.325, allocations: 27.98 kB / 2.688 GB, free: 70.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/6.326, allocations: 1.846 MB / 2.69 GB, free: 68.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/6.326, allocations: 3.953 kB / 2.69 GB, free: 68.65 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004366/6.33, allocations: 2.915 MB / 2.693 GB, free: 65.72 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/6.332, allocations: 497.2 kB / 2.694 GB, free: 65.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/6.333, allocations: 23.95 kB / 2.694 GB, free: 65.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/6.334, allocations: 143.6 kB / 2.694 GB, free: 65.05 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/6.334, allocations: 64.91 kB / 2.694 GB, free: 64.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/6.334, allocations: 43.97 kB / 2.694 GB, free: 64.95 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002645/6.337, allocations: 1.931 MB / 2.696 GB, free: 63.02 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.31e-07/6.337, allocations: 0 / 2.696 GB, free: 63.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00508/6.342, allocations: 1.447 MB / 2.697 GB, free: 61.57 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002138/6.344, allocations: 1.083 MB / 2.698 GB, free: 60.62 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004778/6.349, allocations: 2.89 MB / 2.701 GB, free: 57.68 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/6.349, allocations: 0 / 2.701 GB, free: 57.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/6.35, allocations: 0.703 MB / 2.702 GB, free: 56.98 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005472/6.356, allocations: 1.187 MB / 2.703 GB, free: 55.84 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/6.364, allocations: 5.764 MB / 2.708 GB, free: 50.06 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/6.365, allocations: 2.087 MB / 2.711 GB, free: 47.95 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00305/6.368, allocations: 0.7328 MB / 2.711 GB, free: 47.25 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/6.368, allocations: 191.4 kB / 2.711 GB, free: 47.06 MB / 0.9011 GB Notification: Performance of SimCode: time 1.493e-06/6.368, allocations: 0 / 2.711 GB, free: 47.06 MB / 0.9011 GB Notification: Performance of Templates: time 0.6665/7.035, allocations: 55.59 MB / 2.766 GB, free: 157.4 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example1v1.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches