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.001051/0.001051, 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.001113/0.001113, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.674/2.674, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 63.91 kB / 0.8685 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7592, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2237/0.983, allocations: 188.2 MB / 1.2 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009992/0.9931, allocations: 5.762 MB / 1.206 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.9948, allocations: 39.75 kB / 1.206 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.9966, allocations: 0.4935 MB / 1.207 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/1.002, allocations: 1.727 MB / 1.208 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/1.005, allocations: 1.072 MB / 1.209 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005172/1.01, allocations: 4.101 MB / 1.213 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/1.012, allocations: 0.9697 MB / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/1.013, allocations: 0.9023 MB / 1.215 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/1.015, allocations: 0.9956 MB / 1.216 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/1.016, allocations: 60 kB / 1.216 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/1.019, allocations: 1.633 MB / 1.218 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006018/1.019, allocations: 0.5142 MB / 1.218 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009012/1.02, allocations: 0.657 MB / 1.219 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003338/1.024, allocations: 2.356 MB / 1.221 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.024, allocations: 3.938 kB / 1.221 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.82e-07/1.024, allocations: 0 / 1.221 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.024, allocations: 8 kB / 1.221 GB, free: 0.5078 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.002724/1.026, allocations: 1.618 MB / 1.223 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.026, allocations: 15.97 kB / 1.223 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.029, allocations: 330.2 kB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.03, allocations: 0.8629 MB / 1.224 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.295e-05/1.03, allocations: 74 kB / 1.224 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.03, allocations: 99.91 kB / 1.224 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/1.032, allocations: 1.096 MB / 1.225 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.032, allocations: 0 / 1.225 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/1.032, allocations: 44 kB / 1.225 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/1.032, allocations: 37.98 kB / 1.225 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/1.034, allocations: 0.9954 MB / 1.226 GB, free: 11.24 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.005799/1.04, allocations: 4.239 MB / 1.23 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009537/1.041, allocations: 0.5942 MB / 1.231 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/1.041, allocations: 339.3 kB / 1.231 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/1.041, allocations: 109.5 kB / 1.231 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.041, allocations: 46.94 kB / 1.231 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.665e-06/1.041, allocations: 0 / 1.231 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55): time 0.004001/1.045, allocations: 2.197 MB / 1.234 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/1.045, allocations: 71.84 kB / 1.234 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.046, allocations: 0.8765 MB / 1.235 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/1.047, allocations: 41.7 kB / 1.235 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/1.047, allocations: 0.5146 MB / 1.235 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/1.047, allocations: 193.2 kB / 1.235 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.047, allocations: 130.5 kB / 1.235 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.047, allocations: 334 kB / 1.236 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/1.048, allocations: 285.8 kB / 1.236 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/1.049, allocations: 436.9 kB / 1.236 GB, free: 324 kB / 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.003691/1.052, allocations: 1.75 MB / 1.238 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.052, allocations: 4 kB / 1.238 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001375/1.054, allocations: 0.9261 MB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.054, allocations: 4 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.054, allocations: 4 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/1.054, allocations: 102.4 kB / 1.239 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/1.055, allocations: 167.8 kB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/1.058, allocations: 4.278 MB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009844/1.059, allocations: 71.8 kB / 1.244 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/1.059, allocations: 28 kB / 1.244 GB, free: 8.5 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.000523/1.059, allocations: 349.5 kB / 1.244 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/1.06, allocations: 102.9 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/1.06, allocations: 113.2 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.06, allocations: 4 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.06, allocations: 7.875 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/1.061, allocations: 0.7614 MB / 1.245 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/1.064, allocations: 1.987 MB / 1.247 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.064, allocations: 4 kB / 1.247 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/1.065, allocations: 139.8 kB / 1.247 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/1.065, allocations: 53.17 kB / 1.247 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/1.065, allocations: 16 kB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/1.066, allocations: 1.48 MB / 1.248 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.066, allocations: 4 kB / 1.248 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.068, allocations: 1.207 MB / 1.25 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/1.068, allocations: 263.9 kB / 1.25 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.068, allocations: 12 kB / 1.25 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/1.069, allocations: 69.42 kB / 1.25 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.069, allocations: 47.81 kB / 1.25 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/1.069, allocations: 35.98 kB / 1.25 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007371/1.07, allocations: 0.6083 MB / 1.251 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.07, allocations: 4 kB / 1.251 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009892/1.071, allocations: 312 kB / 1.251 GB, free: 0.5742 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.0004048/1.071, allocations: 195.2 kB / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5324/1.604, allocations: 0.9931 MB / 1.252 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.604, allocations: 2.125 kB / 1.252 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008128/1.605, allocations: 439.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.003359/1.608, allocations: 0.6317 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.004852/1.613, allocations: 2.509 MB / 1.256 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.614, allocations: 1.185 MB / 1.257 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001531/1.616, allocations: 255.6 kB / 1.257 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/1.616, allocations: 75.03 kB / 1.257 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.616, allocations: 0 / 1.257 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0503/1.666, allocations: 21.32 MB / 1.278 GB, free: 224.3 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=480 -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