Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001598/0.001598, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001697/0.001697, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 73.28 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6998, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2286/0.9284, allocations: 190.5 MB / 1.269 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009841/0.9383, allocations: 5.725 MB / 1.275 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.9394, allocations: 39.81 kB / 1.275 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.941, allocations: 0.5669 MB / 1.275 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.9455, allocations: 1.824 MB / 1.277 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.9485, allocations: 1.17 MB / 1.278 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003715/0.9522, allocations: 2.958 MB / 1.281 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.9538, allocations: 1.124 MB / 1.282 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.9562, allocations: 1.234 MB / 1.283 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.958, allocations: 0.9475 MB / 1.284 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.9583, allocations: 120 kB / 1.284 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.9612, allocations: 1.438 MB / 1.286 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.9619, allocations: 0.5689 MB / 1.286 GB, free: 14 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009389/0.9628, allocations: 0.7234 MB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.9661, allocations: 2.314 MB / 1.289 GB, free: 10.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.9661, allocations: 4 kB / 1.289 GB, free: 10.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9662, allocations: 0 / 1.289 GB, free: 10.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.9662, allocations: 0 / 1.289 GB, free: 10.95 MB / 1.014 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.00274/0.9689, allocations: 1.624 MB / 1.291 GB, free: 9.273 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.969, allocations: 12.03 kB / 1.291 GB, free: 9.262 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.971, allocations: 330.2 kB / 1.291 GB, free: 8.938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.9724, allocations: 0.8667 MB / 1.292 GB, free: 8.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.9725, allocations: 74 kB / 1.292 GB, free: 7.953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.9727, allocations: 99.98 kB / 1.292 GB, free: 7.855 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.9746, allocations: 1.093 MB / 1.293 GB, free: 6.754 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.9746, allocations: 0 / 1.293 GB, free: 6.754 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.9748, allocations: 40 kB / 1.293 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/0.9748, allocations: 45.98 kB / 1.293 GB, free: 6.672 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.9766, allocations: 0.9954 MB / 1.294 GB, free: 5.676 MB / 1.014 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.006694/0.9833, allocations: 4.413 MB / 1.299 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009627/0.9843, allocations: 0.5943 MB / 1.299 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.9849, allocations: 342.6 kB / 1.3 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.9851, allocations: 105.5 kB / 1.3 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.9851, allocations: 43 kB / 1.3 GB, free: 15.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.9851, allocations: 0 / 1.3 GB, free: 15.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=55): time 0.004323/0.9895, allocations: 2.204 MB / 1.302 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.9895, allocations: 63.84 kB / 1.302 GB, free: 13.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.9907, allocations: 0.8843 MB / 1.303 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.9908, allocations: 37.7 kB / 1.303 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.9913, allocations: 0.5145 MB / 1.303 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.9915, allocations: 189.3 kB / 1.303 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.9917, allocations: 134.5 kB / 1.304 GB, free: 11.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9919, allocations: 329.9 kB / 1.304 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.9924, allocations: 293.8 kB / 1.304 GB, free: 11.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.993, allocations: 433 kB / 1.305 GB, free: 10.54 MB / 1.029 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.004197/0.9973, allocations: 1.749 MB / 1.306 GB, free: 8.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9973, allocations: 0 / 1.306 GB, free: 8.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001705/0.999, allocations: 0.9223 MB / 1.307 GB, free: 7.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.999, allocations: 12 kB / 1.307 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.999, allocations: 4 kB / 1.307 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.9993, allocations: 102.5 kB / 1.307 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/1, allocations: 163.7 kB / 1.307 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/1.004, allocations: 4.641 MB / 1.312 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/1.005, allocations: 27.92 kB / 1.312 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/1.005, allocations: 28 kB / 1.312 GB, free: 2.383 MB / 1.029 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.0005518/1.006, allocations: 347.8 kB / 1.312 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.006, allocations: 102.8 kB / 1.312 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/1.006, allocations: 113.2 kB / 1.313 GB, free: 1.824 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.006, allocations: 7.938 kB / 1.313 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.006, allocations: 0 / 1.313 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/1.007, allocations: 0.773 MB / 1.313 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/1.011, allocations: 1.984 MB / 1.315 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.011, allocations: 4 kB / 1.315 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/1.012, allocations: 147.8 kB / 1.315 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/1.012, allocations: 41.25 kB / 1.315 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/1.012, allocations: 15.98 kB / 1.315 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/1.013, allocations: 1.609 MB / 1.317 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/1.013, allocations: 7.938 kB / 1.317 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.015, allocations: 1.21 MB / 1.318 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/1.016, allocations: 255.9 kB / 1.318 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.016, allocations: 15.98 kB / 1.319 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/1.017, allocations: 30.22 kB / 1.319 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.017, allocations: 55.81 kB / 1.319 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/1.017, allocations: 27.98 kB / 1.319 GB, free: 11.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008558/1.018, allocations: 0.6122 MB / 1.319 GB, free: 10.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.018, allocations: 0 / 1.319 GB, free: 10.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009676/1.019, allocations: 304 kB / 1.32 GB, free: 10.37 MB / 1.045 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.0004705/1.019, allocations: 203.5 kB / 1.32 GB, free: 10.17 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001888/1.021, allocations: 1.108 MB / 1.321 GB, free: 9.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.021, allocations: 0 / 1.321 GB, free: 9.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/1.022, allocations: 451.6 kB / 1.321 GB, free: 8.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.025, allocations: 0.6514 MB / 1.322 GB, free: 7.938 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/1.028, allocations: 2.201 MB / 1.324 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/1.029, allocations: 1.163 MB / 1.325 GB, free: 4.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/1.03, allocations: 83.42 kB / 1.325 GB, free: 4.387 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/1.03, allocations: 0 / 1.325 GB, free: 4.387 MB / 1.045 GB Notification: Performance of Templates: time 0.037/1.067, allocations: 26.92 MB / 1.351 GB, free: 9.59 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1]