Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001875/0.001875, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002228/0.002227, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.923/2.923, allocations: 437 MB / 0.7101 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.7515, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2503/1.002, allocations: 188 MB / 1.2 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01112/1.013, allocations: 5.672 MB / 1.206 GB, free: 332 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/1.015, allocations: 35.75 kB / 1.206 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/1.016, allocations: 0.4975 MB / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004942/1.021, allocations: 1.729 MB / 1.208 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/1.024, allocations: 1.09 MB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004291/1.029, allocations: 2.951 MB / 1.212 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/1.03, allocations: 1.089 MB / 1.213 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/1.033, allocations: 1.062 MB / 1.214 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/1.035, allocations: 1.029 MB / 1.215 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002914/1.036, allocations: 124 kB / 1.215 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/1.039, allocations: 1.52 MB / 1.217 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007993/1.04, allocations: 0.5728 MB / 1.217 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/1.041, allocations: 0.7195 MB / 1.218 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003941/1.045, allocations: 2.423 MB / 1.22 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.045, allocations: 0 / 1.22 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.315e-06/1.045, allocations: 4 kB / 1.22 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.585e-05/1.045, allocations: 0 / 1.22 GB, free: 1.434 MB / 0.9669 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.003052/1.048, allocations: 1.616 MB / 1.222 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.048, allocations: 19.91 kB / 1.222 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/1.051, allocations: 322.2 kB / 1.222 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.052, allocations: 0.863 MB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/1.052, allocations: 77.98 kB / 1.223 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.052, allocations: 96 kB / 1.223 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/1.054, allocations: 1.093 MB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.054, allocations: 3.938 kB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.055, allocations: 40 kB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/1.055, allocations: 45.92 kB / 1.225 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/1.056, allocations: 0.9915 MB / 1.225 GB, free: 12.17 MB / 0.9825 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.006956/1.063, allocations: 4.247 MB / 1.23 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009857/1.064, allocations: 0.595 MB / 1.23 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/1.065, allocations: 342.5 kB / 1.231 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/1.065, allocations: 109.5 kB / 1.231 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/1.065, allocations: 47 kB / 1.231 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/1.065, allocations: 0 / 1.231 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55): time 0.004635/1.07, allocations: 2.197 MB / 1.233 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/1.07, allocations: 63.91 kB / 1.233 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.071, allocations: 0.8804 MB / 1.234 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/1.071, allocations: 41.7 kB / 1.234 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/1.072, allocations: 0.5107 MB / 1.234 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/1.072, allocations: 197.2 kB / 1.234 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/1.072, allocations: 126.6 kB / 1.235 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.073, allocations: 334 kB / 1.235 GB, free: 2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/1.073, allocations: 289.8 kB / 1.235 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/1.074, allocations: 440.8 kB / 1.236 GB, free: 1.234 MB / 0.9825 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.004256/1.078, allocations: 1.743 MB / 1.237 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.078, allocations: 0 / 1.237 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001816/1.08, allocations: 0.9295 MB / 1.238 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.08, allocations: 8 kB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.08, allocations: 4 kB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/1.08, allocations: 107 kB / 1.238 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/1.081, allocations: 159.8 kB / 1.238 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/1.086, allocations: 4.626 MB / 1.243 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.087, allocations: 75.83 kB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/1.087, allocations: 32 kB / 1.243 GB, free: 9.047 MB / 0.9981 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.0006899/1.088, allocations: 343.6 kB / 1.243 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/1.088, allocations: 98.88 kB / 1.244 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/1.088, allocations: 113.2 kB / 1.244 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.088, allocations: 11.94 kB / 1.244 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.088, allocations: 0 / 1.244 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/1.09, allocations: 0.7652 MB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/1.093, allocations: 1.996 MB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.093, allocations: 4 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/1.094, allocations: 143.8 kB / 1.246 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/1.095, allocations: 40.77 kB / 1.247 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/1.095, allocations: 19.94 kB / 1.247 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/1.097, allocations: 1.613 MB / 1.248 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.097, allocations: 4 kB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/1.099, allocations: 1.203 MB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/1.1, allocations: 267.8 kB / 1.25 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.1, allocations: 12 kB / 1.25 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/1.101, allocations: 69.91 kB / 1.25 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.101, allocations: 43.83 kB / 1.25 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/1.101, allocations: 31.98 kB / 1.25 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009891/1.102, allocations: 0.6161 MB / 1.25 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.102, allocations: 4 kB / 1.25 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001135/1.104, allocations: 300 kB / 1.251 GB, free: 0.9961 MB / 0.9981 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.0005513/1.104, allocations: 202.2 kB / 1.251 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.499/1.603, allocations: 1.107 MB / 1.252 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.603, allocations: 4.344 kB / 1.252 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/1.604, allocations: 444.4 kB / 1.252 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.607, allocations: 0.6429 MB / 1.253 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/1.611, allocations: 2.525 MB / 1.255 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009503/1.612, allocations: 1.167 MB / 1.257 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001384/1.614, allocations: 256.3 kB / 1.257 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/1.614, allocations: 77.84 kB / 1.257 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.614, allocations: 0 / 1.257 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04552/1.66, allocations: 22.08 MB / 1.278 GB, free: 224.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches