Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 173 kB / 316.3 MB, free: 3.316 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.611/1.611, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001021/0.001021, allocations: 90.53 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.08e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2184, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.647/1.865, allocations: 415.6 MB / 1.291 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.866, allocations: 89.91 kB / 1.291 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.514/10.38, allocations: 2.26 GB / 3.552 GB, free: 86.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.014e-06/10.38, allocations: 0 / 3.552 GB, free: 86.57 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001921/10.38, allocations: 253.9 kB / 3.552 GB, free: 86.52 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03062/10.41, allocations: 7.302 MB / 3.559 GB, free: 81.81 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/10.41, allocations: 9.875 kB / 3.559 GB, free: 81.81 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009191/10.42, allocations: 1.235 MB / 3.56 GB, free: 81.22 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03476/10.46, allocations: 12.54 MB / 3.572 GB, free: 73.96 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000497/10.46, allocations: 181.2 kB / 3.573 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003268/10.46, allocations: 351.9 kB / 3.573 GB, free: 73.44 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02701/10.49, allocations: 17.76 MB / 3.59 GB, free: 55.67 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03327/10.52, allocations: 12.55 MB / 3.602 GB, free: 42.87 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004824/10.52, allocations: 19.78 kB / 3.603 GB, free: 42.85 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003155/10.52, allocations: 12 kB / 3.603 GB, free: 42.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/10.52, allocations: 136 kB / 3.603 GB, free: 42.7 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.1005/10.62, allocations: 54.55 MB / 3.656 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7334/11.36, allocations: 8.63 MB / 3.664 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01439/11.37, allocations: 9.192 MB / 3.673 GB, free: 112.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06342/11.44, allocations: 26.29 MB / 3.699 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01354/11.45, allocations: 7.221 MB / 3.706 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05276/11.5, allocations: 21.04 MB / 3.727 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 4.621e-05/11.5, allocations: 2.594 kB / 3.727 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.04097/11.54, allocations: 15.03 MB / 3.741 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/11.54, allocations: 90.2 kB / 3.741 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01663/11.56, allocations: 6.393 MB / 3.748 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002778/11.56, allocations: 33.33 kB / 3.748 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005582/11.57, allocations: 3.997 MB / 3.752 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003735/11.57, allocations: 1.04 MB / 3.753 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002544/11.58, allocations: 0 / 3.753 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0005947/11.58, allocations: 497.1 kB / 3.753 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009244/11.59, allocations: 6.024 MB / 3.759 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/11.6, allocations: 7.798 MB / 3.767 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/11.61, allocations: 7.547 MB / 3.774 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/11.61, allocations: 12.84 kB / 3.774 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04222/11.65, allocations: 16.58 MB / 3.79 GB, free: 99.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006047/11.66, allocations: 24.55 MB / 3.814 GB, free: 73.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/11.66, allocations: 50.11 kB / 3.814 GB, free: 73.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004417/11.66, allocations: 1.548 MB / 3.816 GB, free: 73.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009444/11.67, allocations: 1.61 MB / 3.817 GB, free: 73.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/11.69, allocations: 6.955 MB / 3.824 GB, free: 70.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01417/11.7, allocations: 0.5032 MB / 3.825 GB, free: 70.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003716/11.71, allocations: 0.5409 MB / 3.825 GB, free: 70.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/11.71, allocations: 4.969 kB / 3.825 GB, free: 70.59 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03798/11.74, allocations: 15.75 MB / 3.84 GB, free: 70.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002511/11.74, allocations: 49.36 kB / 3.84 GB, free: 70.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/11.75, allocations: 1.416 MB / 3.842 GB, free: 70.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009879/11.76, allocations: 1.602 MB / 3.843 GB, free: 70.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/11.78, allocations: 10.51 MB / 3.854 GB, free: 65.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/11.79, allocations: 485.5 kB / 3.854 GB, free: 65.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003472/11.79, allocations: 0.534 MB / 3.855 GB, free: 65.39 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005047/11.8, allocations: 254.1 kB / 3.855 GB, free: 65.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004613/11.8, allocations: 0.7034 MB / 3.856 GB, free: 64.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03759/11.84, allocations: 13.75 MB / 3.869 GB, free: 64.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.756e-05/11.84, allocations: 34.88 kB / 3.869 GB, free: 64.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/11.84, allocations: 4 kB / 3.869 GB, free: 64.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02326/11.86, allocations: 10.46 MB / 3.879 GB, free: 63.79 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05254/11.92, allocations: 23.48 MB / 3.902 GB, free: 52.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/11.92, allocations: 4.062 kB / 3.902 GB, free: 52.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005553/11.92, allocations: 0.7021 MB / 3.903 GB, free: 52.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/11.92, allocations: 0.6953 MB / 3.904 GB, free: 52.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/11.93, allocations: 74.06 kB / 3.904 GB, free: 52.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008148/11.93, allocations: 5.006 MB / 3.909 GB, free: 48.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/11.93, allocations: 0 / 3.909 GB, free: 48.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03126/11.97, allocations: 18.46 MB / 3.927 GB, free: 40.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00747/11.97, allocations: 1.933 MB / 3.928 GB, free: 39.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003684/11.98, allocations: 18.33 kB / 3.928 GB, free: 39.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009491/11.99, allocations: 358.8 kB / 3.929 GB, free: 39.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/11.99, allocations: 221.6 kB / 3.929 GB, free: 39.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001204/11.99, allocations: 163.6 kB / 3.929 GB, free: 39.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01023/12, allocations: 4.85 MB / 3.934 GB, free: 37.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.51e-07/12, allocations: 0 / 3.934 GB, free: 37.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02803/12.03, allocations: 5.009 MB / 3.939 GB, free: 33.34 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003871/12.03, allocations: 1.18 MB / 3.94 GB, free: 32.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03742/12.07, allocations: 23.05 MB / 3.962 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/12.07, allocations: 4 kB / 3.962 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008633/12.08, allocations: 6.007 MB / 3.968 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02337/12.1, allocations: 4.008 MB / 3.972 GB, free: 4.242 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/12.14, allocations: 16.77 MB / 3.989 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0106/12.15, allocations: 5.373 MB / 3.994 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.04247/12.2, allocations: 8.274 MB / 4.002 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005318/12.2, allocations: 0.7455 MB / 4.003 GB, free: 14.11 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/12.2, allocations: 0 / 4.003 GB, free: 14.11 MB / 0.948 GB Notification: Performance of Templates: time 0.977/13.18, allocations: 198.4 MB / 4.196 GB, free: 113.4 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example1v2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches