Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009488, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009598/0.0009599, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003931, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7498, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1897/0.9396, allocations: 158.2 MB / 1.108 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.9498, allocations: 5.623 MB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.9513, allocations: 31.75 kB / 1.114 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.9532, allocations: 0.56 MB / 1.114 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007499/0.9607, allocations: 1.671 MB / 1.116 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.9647, allocations: 1.199 MB / 1.117 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00372/0.9685, allocations: 1.684 MB / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.97, allocations: 0.8174 MB / 1.119 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.9717, allocations: 0.7708 MB / 1.12 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/0.9726, allocations: 0.6071 MB / 1.121 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.9728, allocations: 51.94 kB / 1.121 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.9747, allocations: 0.6201 MB / 1.121 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004657/0.9752, allocations: 458.8 kB / 1.122 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003391/0.9756, allocations: 281.1 kB / 1.122 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.9773, allocations: 1.543 MB / 1.124 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9773, allocations: 4 kB / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9773, allocations: 0 / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.9773, allocations: 4 kB / 1.124 GB, free: 1.598 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002566/0.9799, allocations: 1.359 MB / 1.125 GB, free: 192 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.98, allocations: 15.97 kB / 1.125 GB, free: 176 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.982, allocations: 334.2 kB / 1.125 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.9835, allocations: 0.8401 MB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.9835, allocations: 78 kB / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.9837, allocations: 96 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.9855, allocations: 1.073 MB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.9855, allocations: 0 / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.9857, allocations: 47.95 kB / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.9857, allocations: 34 kB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.9873, allocations: 1.003 MB / 1.128 GB, free: 12.62 MB / 0.8887 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.006045/0.9934, allocations: 4.243 MB / 1.132 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.9943, allocations: 0.6064 MB / 1.133 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.149e-05/0.9943, allocations: 8.438 kB / 1.133 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.9944, allocations: 43 kB / 1.133 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.9944, allocations: 8 kB / 1.133 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of matching and sorting (n=55): time 0.00403/0.9984, allocations: 2.225 MB / 1.135 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.9985, allocations: 55.97 kB / 1.135 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.9995, allocations: 0.8764 MB / 1.136 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.9996, allocations: 41.7 kB / 1.136 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.9999, allocations: 0.5145 MB / 1.137 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/1, allocations: 197.2 kB / 1.137 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/1, allocations: 8 kB / 1.137 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1, allocations: 338 kB / 1.137 GB, free: 3 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/1.001, allocations: 289.8 kB / 1.138 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/1.001, allocations: 432.9 kB / 1.138 GB, free: 2.242 MB / 0.8887 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.002941/1.004, allocations: 1.105 MB / 1.139 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.004, allocations: 4 kB / 1.139 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001465/1.006, allocations: 0.9257 MB / 1.14 GB, free: 184 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.006, allocations: 4.5 kB / 1.14 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.006, allocations: 8 kB / 1.14 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/1.006, allocations: 102.5 kB / 1.14 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/1.007, allocations: 167.8 kB / 1.14 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/1.01, allocations: 4.341 MB / 1.144 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.011, allocations: 71.89 kB / 1.145 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/1.011, allocations: 24 kB / 1.145 GB, free: 11.06 MB / 0.9044 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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005854/1.012, allocations: 341.6 kB / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.012, allocations: 102.9 kB / 1.145 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/1.012, allocations: 117.1 kB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.012, allocations: 7.984 kB / 1.145 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.012, allocations: 4 kB / 1.145 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/1.013, allocations: 0.773 MB / 1.146 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/1.016, allocations: 2.003 MB / 1.148 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.016, allocations: 0 / 1.148 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/1.017, allocations: 152.2 kB / 1.148 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/1.017, allocations: 48.83 kB / 1.148 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/1.017, allocations: 12 kB / 1.148 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.018, allocations: 1.507 MB / 1.149 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.018, allocations: 12.05 kB / 1.149 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.02, allocations: 1.369 MB / 1.151 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/1.021, allocations: 259.9 kB / 1.151 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/1.021, allocations: 16 kB / 1.151 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007767/1.022, allocations: 71.8 kB / 1.151 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.022, allocations: 48.25 kB / 1.151 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/1.022, allocations: 27.98 kB / 1.151 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007498/1.022, allocations: 0.6083 MB / 1.152 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.022, allocations: 0 / 1.152 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001017/1.024, allocations: 312 kB / 1.152 GB, free: 2.836 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004973/1.024, allocations: 195.8 kB / 1.152 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.026, allocations: 1.011 MB / 1.153 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.026, allocations: 0 / 1.153 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/1.026, allocations: 455.6 kB / 1.154 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.029, allocations: 0.6147 MB / 1.154 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/1.032, allocations: 2.503 MB / 1.157 GB, free: 13.96 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/1.033, allocations: 1.19 MB / 1.158 GB, free: 12.74 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008987/1.034, allocations: 252.4 kB / 1.158 GB, free: 12.49 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/1.034, allocations: 79.42 kB / 1.158 GB, free: 12.41 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/1.034, allocations: 0 / 1.158 GB, free: 12.41 MB / 0.92 GB Notification: Performance of Templates: time 0.03331/1.067, allocations: 20.53 MB / 1.178 GB, free: 8.188 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches