Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 249.5 MB / 257 MB, free: 6.941 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.0011/0.0011, allocations: 176.8 kB / 316.3 MB, free: 3.246 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.58/1.58, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009087/0.0009087, allocations: 87.88 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.161e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.867/6.101, allocations: 2.254 GB / 3.139 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/6.101, allocations: 87.95 kB / 3.139 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.55/13.65, allocations: 1.959 GB / 5.098 GB, free: 88.15 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.605e-06/13.65, allocations: 0 / 5.098 GB, free: 88.15 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003101/13.65, allocations: 103 kB / 5.098 GB, free: 88.13 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01103/13.66, allocations: 3.481 MB / 5.102 GB, free: 86.86 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/13.66, allocations: 7.5 kB / 5.102 GB, free: 86.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/13.67, allocations: 0.9252 MB / 5.103 GB, free: 86.66 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008158/13.68, allocations: 2.866 MB / 5.106 GB, free: 86.12 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/13.68, allocations: 170.9 kB / 5.106 GB, free: 86.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005432/13.68, allocations: 182.7 kB / 5.106 GB, free: 86.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004344/13.68, allocations: 2.453 MB / 5.108 GB, free: 86.03 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/13.69, allocations: 2.768 MB / 5.111 GB, free: 85.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/13.69, allocations: 3.906 kB / 5.111 GB, free: 85.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/13.69, allocations: 3.938 kB / 5.111 GB, free: 85.79 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/13.69, allocations: 108.3 kB / 5.111 GB, free: 85.78 MB / 0.9323 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.0175/13.71, allocations: 12.71 MB / 5.123 GB, free: 78.66 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/13.71, allocations: 1.663 MB / 5.125 GB, free: 78.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/13.71, allocations: 0.9996 MB / 5.126 GB, free: 78.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/13.71, allocations: 325.5 kB / 5.126 GB, free: 78.32 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/13.71, allocations: 61.38 kB / 5.126 GB, free: 78.28 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 3.387e-06/13.71, allocations: 0 / 5.126 GB, free: 78.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.00376/13.71, allocations: 1.826 MB / 5.128 GB, free: 78.07 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/13.71, allocations: 71.78 kB / 5.128 GB, free: 78.01 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/13.72, allocations: 1.433 MB / 5.13 GB, free: 77.79 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002652/13.72, allocations: 30.45 kB / 5.13 GB, free: 77.76 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007775/13.72, allocations: 1.417 MB / 5.131 GB, free: 77.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/13.72, allocations: 0.6101 MB / 5.132 GB, free: 76.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/13.72, allocations: 0 / 5.132 GB, free: 76.77 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001218/13.72, allocations: 390.7 kB / 5.132 GB, free: 76.47 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009737/13.72, allocations: 0.7112 MB / 5.133 GB, free: 76.46 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/13.72, allocations: 1.346 MB / 5.134 GB, free: 75.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/13.72, allocations: 0.9761 MB / 5.135 GB, free: 75.71 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/13.72, allocations: 3.562 kB / 5.135 GB, free: 75.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003681/13.72, allocations: 2.206 MB / 5.137 GB, free: 75.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001423/13.73, allocations: 5.473 MB / 5.143 GB, free: 69.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/13.73, allocations: 12.44 kB / 5.143 GB, free: 69.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.055e-05/13.73, allocations: 28.38 kB / 5.143 GB, free: 69.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/13.73, allocations: 0.5209 MB / 5.143 GB, free: 69.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/13.73, allocations: 4.166 MB / 5.147 GB, free: 65.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/13.73, allocations: 324.8 kB / 5.147 GB, free: 65.47 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/13.73, allocations: 85.97 kB / 5.148 GB, free: 65.47 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/13.73, allocations: 6.625 kB / 5.148 GB, free: 65.47 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00321/13.74, allocations: 1.897 MB / 5.149 GB, free: 65.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/13.74, allocations: 17.44 kB / 5.149 GB, free: 65.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/13.74, allocations: 31.23 kB / 5.149 GB, free: 65.42 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/13.74, allocations: 476.4 kB / 5.15 GB, free: 65.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/13.74, allocations: 30.31 kB / 5.15 GB, free: 65.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/13.74, allocations: 296.9 kB / 5.15 GB, free: 65.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/13.74, allocations: 90.39 kB / 5.15 GB, free: 65.34 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006739/13.74, allocations: 157 kB / 5.15 GB, free: 65.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007934/13.74, allocations: 256.7 kB / 5.151 GB, free: 65.11 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/13.75, allocations: 1.863 MB / 5.153 GB, free: 64.99 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/13.75, allocations: 23.89 kB / 5.153 GB, free: 64.98 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/13.75, allocations: 3.891 kB / 5.153 GB, free: 64.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001941/13.75, allocations: 1.699 MB / 5.154 GB, free: 64.68 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008612/13.76, allocations: 4.629 MB / 5.159 GB, free: 64.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/13.76, allocations: 3.469 kB / 5.159 GB, free: 64.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/13.76, allocations: 0.5035 MB / 5.159 GB, free: 64.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-05/13.76, allocations: 10.94 kB / 5.159 GB, free: 64.18 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/13.76, allocations: 28.53 kB / 5.159 GB, free: 64.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/13.76, allocations: 4.132 MB / 5.163 GB, free: 60.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/13.76, allocations: 10.03 kB / 5.163 GB, free: 60.08 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/13.77, allocations: 3.317 MB / 5.167 GB, free: 59.34 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/13.77, allocations: 0.5708 MB / 5.167 GB, free: 59.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/13.77, allocations: 15.73 kB / 5.167 GB, free: 59.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/13.77, allocations: 232 kB / 5.167 GB, free: 59.07 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/13.77, allocations: 120 kB / 5.167 GB, free: 59.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/13.77, allocations: 74.44 kB / 5.168 GB, free: 59.06 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001601/13.77, allocations: 1.06 MB / 5.169 GB, free: 58.92 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.01e-07/13.77, allocations: 0 / 5.169 GB, free: 58.92 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006119/13.78, allocations: 1.941 MB / 5.17 GB, free: 58.64 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007411/13.79, allocations: 5.192 MB / 5.176 GB, free: 56.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005824/13.79, allocations: 3.032 MB / 5.178 GB, free: 56.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/13.79, allocations: 3.781 kB / 5.178 GB, free: 56.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/13.8, allocations: 0.9293 MB / 5.179 GB, free: 56.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008759/13.8, allocations: 1.447 MB / 5.181 GB, free: 56.27 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/13.82, allocations: 5.428 MB / 5.186 GB, free: 54.98 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/13.82, allocations: 2.263 MB / 5.188 GB, free: 54.22 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00802/13.82, allocations: 1.254 MB / 5.19 GB, free: 54.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009869/13.83, allocations: 173.9 kB / 5.19 GB, free: 54.19 MB / 0.9323 GB Notification: Performance of SimCode: time 1.463e-06/13.83, allocations: 0 / 5.19 GB, free: 54.19 MB / 0.9323 GB Notification: Performance of Templates: time 0.1429/13.97, allocations: 73.57 MB / 5.262 GB, free: 46.43 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches