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.001089/0.001088, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001559/0.001559, allocations: 168.7 kB / 15.95 MB, free: 204 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.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.457 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.439/2.439, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 16 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7802, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2018/0.9821, allocations: 173.3 MB / 1.124 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009397/0.9916, allocations: 5.386 MB / 1.129 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.9929, allocations: 35.75 kB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.9942, allocations: 405.4 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003924/0.9982, allocations: 1.361 MB / 1.131 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/1.001, allocations: 0.8437 MB / 1.132 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004152/1.005, allocations: 3.446 MB / 1.135 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/1.006, allocations: 0.8056 MB / 1.136 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/1.008, allocations: 0.8829 MB / 1.137 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/1.01, allocations: 0.9069 MB / 1.137 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/1.01, allocations: 48 kB / 1.137 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/1.012, allocations: 0.7054 MB / 1.138 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005285/1.012, allocations: 0.4908 MB / 1.139 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/1.013, allocations: 281.1 kB / 1.139 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/1.015, allocations: 1.633 MB / 1.14 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.015, allocations: 0 / 1.14 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.532e-06/1.015, allocations: 0 / 1.14 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.018e-05/1.015, allocations: 0 / 1.14 GB, free: 0.4961 MB / 0.8887 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.002375/1.017, allocations: 1.383 MB / 1.142 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.017, allocations: 16.02 kB / 1.142 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/1.019, allocations: 326.2 kB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.021, allocations: 0.8362 MB / 1.143 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/1.021, allocations: 74 kB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/1.021, allocations: 100 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.023, allocations: 1.085 MB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/1.023, allocations: 3.984 kB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/1.023, allocations: 43.95 kB / 1.144 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/1.023, allocations: 38 kB / 1.144 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/1.025, allocations: 0.9993 MB / 1.145 GB, free: 11.5 MB / 0.9044 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.005799/1.03, allocations: 4.259 MB / 1.149 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/1.031, allocations: 0.598 MB / 1.15 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/1.032, allocations: 342.5 kB / 1.15 GB, free: 6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/1.032, allocations: 117.5 kB / 1.15 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.032, allocations: 39 kB / 1.15 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 2.856e-06/1.032, allocations: 0 / 1.15 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55): time 0.005525/1.038, allocations: 2.22 MB / 1.153 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/1.038, allocations: 63.92 kB / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/1.039, allocations: 0.8726 MB / 1.154 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/1.039, allocations: 41.7 kB / 1.154 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007691/1.04, allocations: 0.5146 MB / 1.154 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/1.041, allocations: 193.1 kB / 1.154 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/1.041, allocations: 16 kB / 1.154 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.041, allocations: 337.9 kB / 1.155 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/1.042, allocations: 281.8 kB / 1.155 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/1.042, allocations: 441 kB / 1.155 GB, free: 0.6562 MB / 0.9044 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.004233/1.047, allocations: 1.109 MB / 1.156 GB, free: 15.53 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.047, allocations: 0 / 1.156 GB, free: 15.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002483/1.049, allocations: 0.9301 MB / 1.157 GB, free: 14.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/1.049, allocations: 8 kB / 1.157 GB, free: 14.58 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.049, allocations: 4 kB / 1.157 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/1.05, allocations: 102.4 kB / 1.157 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.051, allocations: 179.8 kB / 1.158 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/1.056, allocations: 4.274 MB / 1.162 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.058, allocations: 75.8 kB / 1.162 GB, free: 9.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.058, allocations: 32 kB / 1.162 GB, free: 9.508 MB / 0.92 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.0009907/1.059, allocations: 349.8 kB / 1.162 GB, free: 9.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004978/1.059, allocations: 98.88 kB / 1.162 GB, free: 9.059 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/1.06, allocations: 109.1 kB / 1.162 GB, free: 8.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.06, allocations: 8 kB / 1.162 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.06, allocations: 0 / 1.162 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001739/1.061, allocations: 0.777 MB / 1.163 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/1.067, allocations: 1.996 MB / 1.165 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.067, allocations: 4 kB / 1.165 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009633/1.068, allocations: 164.2 kB / 1.165 GB, free: 5.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/1.068, allocations: 36.84 kB / 1.165 GB, free: 5.812 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/1.068, allocations: 15.98 kB / 1.165 GB, free: 5.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.07, allocations: 1.484 MB / 1.167 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/1.07, allocations: 7.938 kB / 1.167 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/1.073, allocations: 1.218 MB / 1.168 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009768/1.074, allocations: 251.9 kB / 1.168 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/1.074, allocations: 12 kB / 1.168 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.076, allocations: 77.38 kB / 1.168 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.076, allocations: 43.89 kB / 1.168 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.076, allocations: 31.98 kB / 1.168 GB, free: 2.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001492/1.077, allocations: 0.6122 MB / 1.169 GB, free: 1.859 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.077, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001777/1.079, allocations: 304 kB / 1.169 GB, free: 1.562 MB / 0.92 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.0006837/1.08, allocations: 200.9 kB / 1.169 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.082, allocations: 1.01 MB / 1.17 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.082, allocations: 4 kB / 1.17 GB, free: 316 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009424/1.083, allocations: 456.2 kB / 1.171 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/1.088, allocations: 0.6342 MB / 1.171 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/1.094, allocations: 2.502 MB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.095, allocations: 1.17 MB / 1.175 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001638/1.097, allocations: 256.4 kB / 1.175 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/1.097, allocations: 79.42 kB / 1.175 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of SimCode: time 1.523e-06/1.097, allocations: 0 / 1.175 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of Templates: time 0.03981/1.137, allocations: 20.55 MB / 1.195 GB, free: 6.895 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches