Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001292/0.001292, allocations: 196 kB / 16.91 MB, free: 6.191 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.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 63.75 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7908/1.124, allocations: 188 MB / 1.248 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01105/1.136, allocations: 5.672 MB / 1.253 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/1.137, allocations: 39.75 kB / 1.253 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/1.139, allocations: 0.4975 MB / 1.254 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004749/1.144, allocations: 1.509 MB / 1.255 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/1.148, allocations: 1.111 MB / 1.256 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003972/1.152, allocations: 2.546 MB / 1.259 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/1.154, allocations: 1.009 MB / 1.26 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/1.156, allocations: 1.043 MB / 1.261 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/1.159, allocations: 0.9082 MB / 1.262 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003775/1.159, allocations: 108 kB / 1.262 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/1.163, allocations: 1.625 MB / 1.263 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007891/1.164, allocations: 0.4949 MB / 1.264 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/1.165, allocations: 0.6417 MB / 1.265 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/1.168, allocations: 1.649 MB / 1.266 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.168, allocations: 0 / 1.266 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/1.168, allocations: 0 / 1.266 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.318e-05/1.168, allocations: 0 / 1.266 GB, free: 10.27 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003039/1.171, allocations: 1.516 MB / 1.268 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.171, allocations: 16.03 kB / 1.268 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/1.174, allocations: 470.1 kB / 1.268 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/1.176, allocations: 0.8239 MB / 1.269 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/1.176, allocations: 125.9 kB / 1.269 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.176, allocations: 84 kB / 1.269 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/1.179, allocations: 1.189 MB / 1.27 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/1.179, allocations: 4 kB / 1.27 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.179, allocations: 39.98 kB / 1.27 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/1.179, allocations: 38 kB / 1.27 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/1.181, allocations: 1.073 MB / 1.271 GB, free: 4.793 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.007993/1.19, allocations: 4.343 MB / 1.276 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/1.192, allocations: 0.7582 MB / 1.276 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/1.193, allocations: 412.5 kB / 1.277 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/1.193, allocations: 105.1 kB / 1.277 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.193, allocations: 42.56 kB / 1.277 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/1.193, allocations: 0 / 1.277 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.006523/1.199, allocations: 2.198 MB / 1.279 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/1.2, allocations: 63.34 kB / 1.279 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.201, allocations: 0.8608 MB / 1.28 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/1.201, allocations: 37.7 kB / 1.28 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/1.201, allocations: 495.3 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.202, allocations: 161.6 kB / 1.281 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/1.202, allocations: 122.2 kB / 1.281 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.202, allocations: 330 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/1.203, allocations: 377 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/1.204, allocations: 0.5052 MB / 1.282 GB, free: 9.574 MB / 0.9981 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.006668/1.211, allocations: 2.293 MB / 1.284 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.211, allocations: 0 / 1.284 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002561/1.213, allocations: 0.9976 MB / 1.285 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.214, allocations: 11.94 kB / 1.285 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.214, allocations: 4 kB / 1.285 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.214, allocations: 4 kB / 1.285 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009792/1.215, allocations: 195.8 kB / 1.285 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.215, allocations: 8 kB / 1.285 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.216, allocations: 103.8 kB / 1.285 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/1.216, allocations: 27.98 kB / 1.285 GB, free: 5.859 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005874/1.216, allocations: 319.8 kB / 1.286 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/1.217, allocations: 101 kB / 1.286 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/1.217, allocations: 100.8 kB / 1.286 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.217, allocations: 7.938 kB / 1.286 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.217, allocations: 0 / 1.286 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002159/1.219, allocations: 1.038 MB / 1.287 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/1.224, allocations: 2.16 MB / 1.289 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.224, allocations: 11.97 kB / 1.289 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/1.225, allocations: 163.8 kB / 1.289 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/1.225, allocations: 8 kB / 1.289 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/1.225, allocations: 15.98 kB / 1.289 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.225, allocations: 4 kB / 1.289 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.225, allocations: 11.88 kB / 1.289 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/1.229, allocations: 1.441 MB / 1.291 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/1.229, allocations: 255.9 kB / 1.291 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/1.229, allocations: 12 kB / 1.291 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.23, allocations: 104.8 kB / 1.291 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/1.231, allocations: 39.83 kB / 1.291 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/1.231, allocations: 28.8 kB / 1.291 GB, free: 15.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009245/1.232, allocations: 0.6044 MB / 1.292 GB, free: 15.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.232, allocations: 0 / 1.292 GB, free: 15.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009961/1.233, allocations: 272 kB / 1.292 GB, free: 14.93 MB / 1.014 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/1.233, allocations: 203.5 kB / 1.292 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002407/1.236, allocations: 0.8858 MB / 1.293 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.236, allocations: 4 kB / 1.293 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.237, allocations: 400.3 kB / 1.293 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/1.24, allocations: 0.5941 MB / 1.294 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/1.245, allocations: 2.618 MB / 1.297 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/1.246, allocations: 1.103 MB / 1.298 GB, free: 9.039 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/1.246, allocations: 83.41 kB / 1.298 GB, free: 8.957 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.246, allocations: 0 / 1.298 GB, free: 8.957 MB / 1.014 GB Notification: Performance of Templates: time 0.02832/1.275, allocations: 16.89 MB / 1.314 GB, free: 8.23 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches