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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001606/0.001606, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00208/0.00208, allocations: 193.9 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8068, allocations: 140.4 MB / 0.9489 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2033/1.01, allocations: 188.2 MB / 1.133 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009457/1.02, allocations: 5.779 MB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/1.021, allocations: 35.75 kB / 1.138 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/1.022, allocations: 497.4 kB / 1.139 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004051/1.026, allocations: 1.724 MB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/1.029, allocations: 1.078 MB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004137/1.033, allocations: 4.088 MB / 1.146 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/1.034, allocations: 0.9696 MB / 1.147 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/1.036, allocations: 0.9023 MB / 1.147 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/1.038, allocations: 0.9956 MB / 1.148 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/1.038, allocations: 63.98 kB / 1.148 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/1.041, allocations: 1.64 MB / 1.15 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005765/1.042, allocations: 0.5064 MB / 1.151 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008154/1.043, allocations: 0.657 MB / 1.151 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/1.046, allocations: 2.36 MB / 1.154 GB, free: 15.86 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.046, allocations: 0 / 1.154 GB, free: 15.86 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.125e-06/1.046, allocations: 0 / 1.154 GB, free: 15.86 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.874e-05/1.046, allocations: 3.938 kB / 1.154 GB, free: 15.86 MB / 0.92 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.003049/1.049, allocations: 1.616 MB / 1.155 GB, free: 14.19 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.049, allocations: 12.02 kB / 1.155 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/1.051, allocations: 326.2 kB / 1.155 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.053, allocations: 0.8707 MB / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/1.053, allocations: 74 kB / 1.156 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.053, allocations: 96 kB / 1.156 GB, free: 12.78 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/1.055, allocations: 1.102 MB / 1.158 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.055, allocations: 0 / 1.158 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.055, allocations: 44 kB / 1.158 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/1.055, allocations: 37.98 kB / 1.158 GB, free: 11.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/1.057, allocations: 0.9993 MB / 1.159 GB, free: 10.59 MB / 0.92 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.006219/1.063, allocations: 4.239 MB / 1.163 GB, free: 6.055 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/1.064, allocations: 0.6026 MB / 1.163 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/1.064, allocations: 335.7 kB / 1.164 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/1.065, allocations: 113.5 kB / 1.164 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.065, allocations: 43 kB / 1.164 GB, free: 4.934 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/1.065, allocations: 0 / 1.164 GB, free: 4.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.004075/1.069, allocations: 2.193 MB / 1.166 GB, free: 2.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/1.069, allocations: 67.91 kB / 1.166 GB, free: 2.543 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.07, allocations: 0.8765 MB / 1.167 GB, free: 1.656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/1.07, allocations: 41.7 kB / 1.167 GB, free: 1.609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/1.07, allocations: 0.5146 MB / 1.167 GB, free: 1.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/1.07, allocations: 197.2 kB / 1.168 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.071, allocations: 126.6 kB / 1.168 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.071, allocations: 330 kB / 1.168 GB, free: 444 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/1.071, allocations: 289.8 kB / 1.168 GB, free: 152 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/1.072, allocations: 441 kB / 1.169 GB, free: 15.66 MB / 0.9356 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.00403/1.076, allocations: 1.739 MB / 1.17 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.076, allocations: 4 kB / 1.17 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001579/1.078, allocations: 0.9259 MB / 1.171 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.078, allocations: 4 kB / 1.171 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.078, allocations: 4 kB / 1.171 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/1.078, allocations: 110.7 kB / 1.171 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/1.079, allocations: 163.8 kB / 1.172 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/1.082, allocations: 4.289 MB / 1.176 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/1.083, allocations: 67.95 kB / 1.176 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/1.083, allocations: 27.94 kB / 1.176 GB, free: 7.848 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005689/1.083, allocations: 354.8 kB / 1.176 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.084, allocations: 102.8 kB / 1.176 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/1.084, allocations: 105.2 kB / 1.176 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.084, allocations: 8 kB / 1.176 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.084, allocations: 3.938 kB / 1.176 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/1.085, allocations: 0.7652 MB / 1.177 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/1.088, allocations: 1.98 MB / 1.179 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.088, allocations: 4 kB / 1.179 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/1.089, allocations: 148.2 kB / 1.179 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/1.089, allocations: 44.83 kB / 1.179 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/1.089, allocations: 16 kB / 1.179 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.091, allocations: 1.495 MB / 1.181 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.091, allocations: 7.938 kB / 1.181 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/1.093, allocations: 1.199 MB / 1.182 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/1.093, allocations: 259.9 kB / 1.182 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.093, allocations: 16 kB / 1.182 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/1.094, allocations: 63.8 kB / 1.182 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.094, allocations: 59.59 kB / 1.182 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/1.094, allocations: 27.98 kB / 1.182 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008641/1.095, allocations: 0.6122 MB / 1.183 GB, free: 224 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.643e-06/1.095, allocations: 0 / 1.183 GB, free: 224 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001212/1.097, allocations: 316 kB / 1.183 GB, free: 15.91 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004713/1.097, allocations: 191.6 kB / 1.183 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001561/1.099, allocations: 0.9991 MB / 1.184 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.099, allocations: 0 / 1.184 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/1.099, allocations: 448 kB / 1.185 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.102, allocations: 0.6313 MB / 1.185 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/1.106, allocations: 2.523 MB / 1.188 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/1.107, allocations: 1.166 MB / 1.189 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001059/1.108, allocations: 252.4 kB / 1.189 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.108, allocations: 71.44 kB / 1.189 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/1.108, allocations: 0 / 1.189 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of Templates: time 0.03557/1.144, allocations: 21.32 MB / 1.21 GB, free: 4.504 MB / 0.9669 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