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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005196/0.005196, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001167/0.001167, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.8 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3338, allocations: 157.4 MB / 1.208 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 1.097/1.431, allocations: 190.5 MB / 1.394 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01043/1.441, allocations: 5.702 MB / 1.399 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/1.443, allocations: 41 kB / 1.399 GB, free: 10.61 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/1.445, allocations: 0.58 MB / 1.4 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004979/1.45, allocations: 1.826 MB / 1.402 GB, free: 8.699 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/1.453, allocations: 1.185 MB / 1.403 GB, free: 7.797 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004586/1.458, allocations: 2.958 MB / 1.406 GB, free: 6.098 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/1.459, allocations: 1.128 MB / 1.407 GB, free: 5.426 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/1.461, allocations: 1.068 MB / 1.408 GB, free: 4.805 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/1.463, allocations: 0.9649 MB / 1.409 GB, free: 4.242 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/1.463, allocations: 123.3 kB / 1.409 GB, free: 4.242 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/1.466, allocations: 1.448 MB / 1.41 GB, free: 3.477 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005725/1.467, allocations: 0.5696 MB / 1.411 GB, free: 3.098 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008404/1.468, allocations: 0.7252 MB / 1.412 GB, free: 2.633 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/1.471, allocations: 2.333 MB / 1.414 GB, free: 1.121 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.471, allocations: 4 kB / 1.414 GB, free: 1.117 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.144e-06/1.471, allocations: 0 / 1.414 GB, free: 1.117 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.965e-05/1.471, allocations: 0 / 1.414 GB, free: 1.117 MB / 1.092 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.002625/1.474, allocations: 1.614 MB / 1.416 GB, free: 15.92 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/1.474, allocations: 8.688 kB / 1.416 GB, free: 15.92 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/1.476, allocations: 326.8 kB / 1.416 GB, free: 15.78 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/1.477, allocations: 0.925 MB / 1.417 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/1.477, allocations: 74.34 kB / 1.417 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.478, allocations: 97.12 kB / 1.417 GB, free: 15.01 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/1.479, allocations: 1.082 MB / 1.418 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/1.479, allocations: 0 / 1.418 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/1.48, allocations: 45.33 kB / 1.418 GB, free: 14.37 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/1.48, allocations: 41.27 kB / 1.418 GB, free: 14.37 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/1.481, allocations: 0.9951 MB / 1.419 GB, free: 13.88 MB / 1.107 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.006124/1.487, allocations: 4.218 MB / 1.423 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/1.488, allocations: 0.5909 MB / 1.424 GB, free: 9.441 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/1.489, allocations: 348.3 kB / 1.424 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/1.489, allocations: 109.5 kB / 1.424 GB, free: 8.973 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/1.489, allocations: 39 kB / 1.424 GB, free: 8.922 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/1.489, allocations: 0 / 1.424 GB, free: 8.922 MB / 1.107 GB Notification: Performance of matching and sorting (n=55): time 0.00399/1.493, allocations: 2.197 MB / 1.426 GB, free: 6.613 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.493, allocations: 55.97 kB / 1.426 GB, free: 6.547 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.494, allocations: 0.892 MB / 1.427 GB, free: 5.648 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/1.494, allocations: 37.7 kB / 1.427 GB, free: 5.605 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/1.495, allocations: 0.5223 MB / 1.428 GB, free: 5.074 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.495, allocations: 193.2 kB / 1.428 GB, free: 4.883 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/1.495, allocations: 134.6 kB / 1.428 GB, free: 4.746 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.495, allocations: 334 kB / 1.428 GB, free: 4.414 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/1.496, allocations: 281.8 kB / 1.429 GB, free: 4.141 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/1.496, allocations: 433 kB / 1.429 GB, free: 3.664 MB / 1.107 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.003808/1.5, allocations: 1.745 MB / 1.431 GB, free: 1.848 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.5, allocations: 0 / 1.431 GB, free: 1.848 MB / 1.107 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001449/1.502, allocations: 0.9218 MB / 1.432 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.502, allocations: 8.5 kB / 1.432 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.502, allocations: 8 kB / 1.432 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/1.502, allocations: 94.45 kB / 1.432 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/1.502, allocations: 167.7 kB / 1.432 GB, free: 0.625 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/1.506, allocations: 4.634 MB / 1.436 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008076/1.507, allocations: 31.92 kB / 1.437 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/1.507, allocations: 27.98 kB / 1.437 GB, free: 11.52 MB / 1.123 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.0005152/1.508, allocations: 349.6 kB / 1.437 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/1.508, allocations: 102.8 kB / 1.437 GB, free: 11.06 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/1.508, allocations: 109.2 kB / 1.437 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.508, allocations: 4 kB / 1.437 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.508, allocations: 4 kB / 1.437 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/1.509, allocations: 0.7613 MB / 1.438 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/1.512, allocations: 1.985 MB / 1.44 GB, free: 8.055 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.512, allocations: 4 kB / 1.44 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/1.513, allocations: 156.1 kB / 1.44 GB, free: 7.898 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.032e-05/1.513, allocations: 40.83 kB / 1.44 GB, free: 7.855 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/1.513, allocations: 16 kB / 1.44 GB, free: 7.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.515, allocations: 1.607 MB / 1.442 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.515, allocations: 11.88 kB / 1.442 GB, free: 6.074 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.516, allocations: 1.208 MB / 1.443 GB, free: 4.809 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/1.517, allocations: 251.9 kB / 1.443 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.517, allocations: 16.62 kB / 1.443 GB, free: 4.527 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/1.518, allocations: 30.28 kB / 1.443 GB, free: 4.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.518, allocations: 51.88 kB / 1.443 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/1.518, allocations: 31.92 kB / 1.443 GB, free: 4.418 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008537/1.519, allocations: 0.6161 MB / 1.444 GB, free: 3.805 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.61e-07/1.519, allocations: 0 / 1.444 GB, free: 3.805 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001078/1.52, allocations: 300 kB / 1.444 GB, free: 3.512 MB / 1.123 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.0006667/1.521, allocations: 196.7 kB / 1.444 GB, free: 3.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00171/1.522, allocations: 1.015 MB / 1.445 GB, free: 2.266 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.522, allocations: 0 / 1.445 GB, free: 2.266 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/1.523, allocations: 451.6 kB / 1.446 GB, free: 1.812 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/1.526, allocations: 0.6538 MB / 1.446 GB, free: 1.176 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/1.53, allocations: 2.087 MB / 1.448 GB, free: 15.02 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000909/1.531, allocations: 1.17 MB / 1.449 GB, free: 13.82 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008963/1.531, allocations: 260.4 kB / 1.45 GB, free: 13.56 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/1.532, allocations: 71.44 kB / 1.45 GB, free: 13.5 MB / 1.139 GB Notification: Performance of SimCode: time 3.41e-07/1.532, allocations: 0 / 1.45 GB, free: 13.5 MB / 1.139 GB Notification: Performance of Templates: time 0.04022/1.572, allocations: 22.83 MB / 1.472 GB, free: 6.969 MB / 1.154 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches