Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001267/0.001267, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009022/0.009022, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.68/2.68, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004802, allocations: 8 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7788, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1966/0.9754, allocations: 185.8 MB / 1.204 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.9864, allocations: 5.703 MB / 1.21 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.9876, allocations: 35.75 kB / 1.21 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.989, allocations: 0.4896 MB / 1.211 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.9928, allocations: 1.521 MB / 1.212 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.9956, allocations: 1.097 MB / 1.213 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004015/0.9997, allocations: 3.537 MB / 1.217 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/1.001, allocations: 0.8524 MB / 1.217 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/1.003, allocations: 0.8712 MB / 1.218 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/1.005, allocations: 0.8291 MB / 1.219 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/1.005, allocations: 47.94 kB / 1.219 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/1.008, allocations: 1.726 MB / 1.221 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005006/1.009, allocations: 438.7 kB / 1.221 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007645/1.009, allocations: 0.5847 MB / 1.222 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00308/1.012, allocations: 2.154 MB / 1.224 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.012, allocations: 0 / 1.224 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/1.012, allocations: 0 / 1.224 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.216e-05/1.013, allocations: 0 / 1.224 GB, free: 1.453 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002418/1.015, allocations: 1.297 MB / 1.225 GB, free: 104 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.015, allocations: 12.03 kB / 1.225 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/1.018, allocations: 0.4904 MB / 1.226 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/1.02, allocations: 0.8162 MB / 1.226 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/1.021, allocations: 133.9 kB / 1.227 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/1.021, allocations: 87.94 kB / 1.227 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/1.023, allocations: 1.202 MB / 1.228 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/1.023, allocations: 0 / 1.228 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.023, allocations: 39.98 kB / 1.228 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-05/1.023, allocations: 38 kB / 1.228 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/1.026, allocations: 1.105 MB / 1.229 GB, free: 12.12 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.007885/1.034, allocations: 4.382 MB / 1.233 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/1.036, allocations: 0.8015 MB / 1.234 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/1.037, allocations: 428.6 kB / 1.234 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/1.037, allocations: 105.1 kB / 1.235 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.037, allocations: 38.56 kB / 1.235 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/1.037, allocations: 0 / 1.235 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.006501/1.044, allocations: 2.289 MB / 1.237 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.044, allocations: 59.41 kB / 1.237 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/1.045, allocations: 0.8608 MB / 1.238 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/1.045, allocations: 37.7 kB / 1.238 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/1.046, allocations: 0.4914 MB / 1.238 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/1.046, allocations: 165.5 kB / 1.238 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/1.046, allocations: 57.69 kB / 1.238 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.046, allocations: 326 kB / 1.239 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009705/1.047, allocations: 397 kB / 1.239 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/1.048, allocations: 0.5208 MB / 1.24 GB, free: 0.7383 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.006599/1.055, allocations: 2.388 MB / 1.242 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.055, allocations: 4 kB / 1.242 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002651/1.058, allocations: 1.021 MB / 1.243 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.058, allocations: 8 kB / 1.243 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.058, allocations: 12.06 kB / 1.243 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.058, allocations: 11.94 kB / 1.243 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009644/1.059, allocations: 207.7 kB / 1.243 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.059, allocations: 8 kB / 1.243 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.06, allocations: 107.8 kB / 1.243 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/1.06, allocations: 28 kB / 1.243 GB, free: 12.88 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 sytem: 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.0007218/1.061, allocations: 317.6 kB / 1.244 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.061, allocations: 98.86 kB / 1.244 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/1.061, allocations: 108.7 kB / 1.244 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.061, allocations: 4 kB / 1.244 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.061, allocations: 0 / 1.244 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002356/1.064, allocations: 1.069 MB / 1.245 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/1.069, allocations: 2.202 MB / 1.247 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.069, allocations: 4 kB / 1.247 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009004/1.07, allocations: 192.1 kB / 1.247 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/1.07, allocations: 4 kB / 1.247 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/1.07, allocations: 15.98 kB / 1.247 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.07, allocations: 7.938 kB / 1.247 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.07, allocations: 7.938 kB / 1.247 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/1.073, allocations: 1.484 MB / 1.249 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/1.074, allocations: 259.9 kB / 1.249 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.074, allocations: 15.98 kB / 1.249 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.075, allocations: 108.8 kB / 1.249 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/1.075, allocations: 39.89 kB / 1.249 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/1.075, allocations: 31.98 kB / 1.249 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009496/1.076, allocations: 0.6005 MB / 1.25 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.076, allocations: 0 / 1.25 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008708/1.077, allocations: 264 kB / 1.25 GB, free: 5.801 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 (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.0005005/1.078, allocations: 212.5 kB / 1.25 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002177/1.08, allocations: 0.8539 MB / 1.251 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.08, allocations: 4 kB / 1.251 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.081, allocations: 421 kB / 1.251 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.084, allocations: 0.5705 MB / 1.252 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/1.089, allocations: 2.637 MB / 1.255 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5701/1.659, allocations: 1.103 MB / 1.256 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001485/1.661, allocations: 260.3 kB / 1.256 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/1.661, allocations: 76.94 kB / 1.256 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.661, allocations: 0.875 kB / 1.256 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04336/1.705, allocations: 20.07 MB / 1.276 GB, free: 224.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches