Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.998/1.998, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 172.9 kB / 487.4 MB, free: 5.074 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007607/0.0007607, allocations: 95.84 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.448e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.337/4.586, allocations: 1.93 GB / 3.136 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/4.587, allocations: 86.45 kB / 3.136 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/6.224, allocations: 0.5937 GB / 3.73 GB, free: 218.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.112e-06/6.224, allocations: 0 / 3.73 GB, free: 218.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.563e-05/6.224, allocations: 27.98 kB / 3.73 GB, free: 218.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002413/6.227, allocations: 1.127 MB / 3.731 GB, free: 217 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/6.227, allocations: 8.031 kB / 3.731 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/6.228, allocations: 210.6 kB / 3.731 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/6.229, allocations: 0.6712 MB / 3.732 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/6.229, allocations: 24 kB / 3.732 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/6.229, allocations: 47.98 kB / 3.732 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000819/6.23, allocations: 0.5154 MB / 3.732 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009715/6.231, allocations: 0.7805 MB / 3.733 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/6.231, allocations: 4 kB / 3.733 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/6.231, allocations: 4 kB / 3.733 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/6.231, allocations: 25.31 kB / 3.733 GB, free: 214.6 MB / 1.151 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.003105/6.234, allocations: 4.394 MB / 3.737 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/6.235, allocations: 429.7 kB / 3.738 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/6.235, allocations: 217.2 kB / 3.738 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/6.235, allocations: 105.1 kB / 3.738 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/6.235, allocations: 41.52 kB / 3.738 GB, free: 209.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/6.235, allocations: 0 / 3.738 GB, free: 209.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002058/6.237, allocations: 1.321 MB / 3.739 GB, free: 207.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/6.238, allocations: 114.8 kB / 3.739 GB, free: 207.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/6.238, allocations: 430.3 kB / 3.74 GB, free: 207.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/6.238, allocations: 29.7 kB / 3.74 GB, free: 207.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/6.238, allocations: 423.1 kB / 3.74 GB, free: 206.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/6.238, allocations: 165.7 kB / 3.74 GB, free: 206.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/6.238, allocations: 0 / 3.74 GB, free: 206.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/6.238, allocations: 374.8 kB / 3.741 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/6.239, allocations: 165.5 kB / 3.741 GB, free: 206 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/6.239, allocations: 391.3 kB / 3.741 GB, free: 205.5 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/6.24, allocations: 0.6414 MB / 3.742 GB, free: 204.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/6.24, allocations: 8 kB / 3.742 GB, free: 204.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007319/6.241, allocations: 0.576 MB / 3.743 GB, free: 204.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/6.241, allocations: 4 kB / 3.743 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/6.241, allocations: 8 kB / 3.743 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/6.241, allocations: 12 kB / 3.743 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/6.241, allocations: 123.8 kB / 3.743 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/6.241, allocations: 15.95 kB / 3.743 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/6.242, allocations: 51.92 kB / 3.743 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/6.242, allocations: 24 kB / 3.743 GB, free: 204 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/6.242, allocations: 128.7 kB / 3.743 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/6.242, allocations: 63.25 kB / 3.743 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/6.243, allocations: 74.33 kB / 3.743 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/6.243, allocations: 8 kB / 3.743 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/6.243, allocations: 4.438 kB / 3.743 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005188/6.243, allocations: 0.6569 MB / 3.744 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/6.245, allocations: 1.468 MB / 3.745 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/6.245, allocations: 8.062 kB / 3.745 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/6.246, allocations: 99.88 kB / 3.745 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/6.246, allocations: 8 kB / 3.745 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/6.246, allocations: 4 kB / 3.745 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/6.246, allocations: 15.88 kB / 3.745 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/6.246, allocations: 4 kB / 3.745 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/6.246, allocations: 0.9738 MB / 3.746 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/6.247, allocations: 188.3 kB / 3.746 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/6.247, allocations: 15.95 kB / 3.746 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/6.247, allocations: 27.91 kB / 3.746 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/6.247, allocations: 39.98 kB / 3.746 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/6.247, allocations: 20 kB / 3.746 GB, free: 199.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002674/6.247, allocations: 322.9 kB / 3.747 GB, free: 199.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/6.247, allocations: 0 / 3.747 GB, free: 199.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009007/6.248, allocations: 303.9 kB / 3.747 GB, free: 199.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002001/6.25, allocations: 1.873 MB / 3.749 GB, free: 197.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005215/6.251, allocations: 415.4 kB / 3.749 GB, free: 196.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/6.251, allocations: 5.562 kB / 3.749 GB, free: 196.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/6.251, allocations: 196.3 kB / 3.749 GB, free: 196.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/6.252, allocations: 300.2 kB / 3.75 GB, free: 196.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/6.254, allocations: 1.248 MB / 3.751 GB, free: 195.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/6.255, allocations: 1.054 MB / 3.752 GB, free: 194 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005045/6.255, allocations: 169.3 kB / 3.752 GB, free: 193.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/6.255, allocations: 55.36 kB / 3.752 GB, free: 193.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/6.255, allocations: 0 / 3.752 GB, free: 193.8 MB / 1.151 GB Notification: Performance of Templates: time 0.02487/6.28, allocations: 19.63 MB / 3.771 GB, free: 174.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches