Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.5 MB / 257 MB, free: 6.797 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.001259/0.001259, allocations: 176.8 kB / 316.3 MB, free: 3.238 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.805/1.805, 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.0009852/0.0009853, allocations: 98.47 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.006e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2482, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.902/6.151, allocations: 2.193 GB / 3.078 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/6.151, allocations: 87.95 kB / 3.078 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.121/8.272, allocations: 0.5441 GB / 3.622 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.065e-06/8.272, allocations: 4.188 kB / 3.622 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.682e-05/8.272, allocations: 34.22 kB / 3.622 GB, free: 201.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003125/8.275, allocations: 1.252 MB / 3.624 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/8.276, allocations: 9.719 kB / 3.624 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/8.278, allocations: 309 kB / 3.624 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/8.279, allocations: 0.8053 MB / 3.625 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/8.28, allocations: 100.8 kB / 3.625 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/8.28, allocations: 51.86 kB / 3.625 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001485/8.281, allocations: 0.6848 MB / 3.625 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/8.283, allocations: 0.886 MB / 3.626 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/8.283, allocations: 4.438 kB / 3.626 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/8.283, allocations: 2.562 kB / 3.626 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/8.283, allocations: 34.66 kB / 3.626 GB, free: 200.4 MB / 0.8698 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.006343/8.29, allocations: 3.816 MB / 3.63 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/8.29, allocations: 350.3 kB / 3.63 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/8.291, allocations: 190.1 kB / 3.631 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/8.291, allocations: 104.1 kB / 3.631 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/8.291, allocations: 40 kB / 3.631 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.015e-06/8.291, allocations: 0 / 3.631 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.00284/8.294, allocations: 1.081 MB / 3.632 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/8.294, allocations: 61.47 kB / 3.632 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/8.295, allocations: 0.5642 MB / 3.632 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/8.295, allocations: 28.2 kB / 3.632 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/8.296, allocations: 0.501 MB / 3.633 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/8.296, allocations: 138.5 kB / 3.633 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/8.296, allocations: 0 / 3.633 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002013/8.296, allocations: 376.2 kB / 3.633 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/8.297, allocations: 181 kB / 3.634 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/8.297, allocations: 379.3 kB / 3.634 GB, free: 196.9 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/8.299, allocations: 0.6587 MB / 3.635 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/8.299, allocations: 2.156 kB / 3.635 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001684/8.301, allocations: 0.6061 MB / 3.635 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/8.301, allocations: 13.75 kB / 3.635 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/8.301, allocations: 6.438 kB / 3.635 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.924e-05/8.301, allocations: 8.812 kB / 3.635 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/8.302, allocations: 144.4 kB / 3.635 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/8.302, allocations: 15.61 kB / 3.635 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/8.303, allocations: 87.05 kB / 3.635 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/8.303, allocations: 28.78 kB / 3.635 GB, free: 196.7 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0002394/8.303, allocations: 122.3 kB / 3.636 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/8.304, allocations: 77.84 kB / 3.636 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/8.304, allocations: 76.41 kB / 3.636 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/8.304, allocations: 7.156 kB / 3.636 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/8.304, allocations: 0 / 3.636 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006601/8.305, allocations: 0.6435 MB / 3.636 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/8.307, allocations: 1.427 MB / 3.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/8.307, allocations: 4.594 kB / 3.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/8.308, allocations: 94.72 kB / 3.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/8.308, allocations: 6.094 kB / 3.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/8.308, allocations: 11.48 kB / 3.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/8.308, allocations: 8.594 kB / 3.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/8.308, allocations: 7.422 kB / 3.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/8.309, allocations: 0.9685 MB / 3.639 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/8.31, allocations: 216.9 kB / 3.639 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/8.31, allocations: 8.312 kB / 3.639 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/8.31, allocations: 54.73 kB / 3.639 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/8.311, allocations: 36.94 kB / 3.639 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/8.311, allocations: 30.09 kB / 3.639 GB, free: 195 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006292/8.311, allocations: 440.5 kB / 3.64 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/8.311, allocations: 0 / 3.64 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001465/8.313, allocations: 318.2 kB / 3.64 GB, free: 194.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002713/8.315, allocations: 1.496 MB / 3.641 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009134/8.316, allocations: 414.2 kB / 3.642 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/8.316, allocations: 1.5 kB / 3.642 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/8.317, allocations: 171.2 kB / 3.642 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/8.319, allocations: 413 kB / 3.642 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/8.322, allocations: 1.381 MB / 3.644 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009176/8.323, allocations: 1.123 MB / 3.645 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00108/8.324, allocations: 199.4 kB / 3.645 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/8.324, allocations: 60.86 kB / 3.645 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/8.324, allocations: 0 / 3.645 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.03697/8.361, allocations: 20.63 MB / 3.665 GB, free: 192.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches