Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001184/0.001189, 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.00134/0.00134, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.42 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3722, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2114/0.5836, allocations: 188.2 MB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009086/0.5927, allocations: 5.771 MB / 1.242 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.5943, allocations: 35.75 kB / 1.242 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.5959, allocations: 0.4935 MB / 1.242 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.5998, allocations: 1.517 MB / 1.244 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.6029, allocations: 1.089 MB / 1.245 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6993/1.302, allocations: 3.533 MB / 1.248 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/1.304, allocations: 0.8933 MB / 1.249 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/1.307, allocations: 0.905 MB / 1.25 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/1.309, allocations: 0.8853 MB / 1.251 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/1.31, allocations: 55.97 kB / 1.251 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/1.313, allocations: 1.734 MB / 1.252 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006022/1.314, allocations: 453.3 kB / 1.253 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009492/1.315, allocations: 0.5905 MB / 1.253 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/1.319, allocations: 2.191 MB / 1.256 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.32, allocations: 0 / 1.256 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.32, allocations: 0 / 1.256 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.341e-05/1.32, allocations: 4 kB / 1.256 GB, free: 4.141 MB / 0.9981 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.003466/1.323, allocations: 1.522 MB / 1.257 GB, free: 19.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.323, allocations: 10.7 kB / 1.257 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/1.326, allocations: 468.6 kB / 1.258 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/1.328, allocations: 0.8192 MB / 1.258 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/1.328, allocations: 121.8 kB / 1.258 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/1.329, allocations: 88.2 kB / 1.259 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/1.331, allocations: 1.181 MB / 1.26 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/1.331, allocations: 6.406 kB / 1.26 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.331, allocations: 42.39 kB / 1.26 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/1.331, allocations: 35.25 kB / 1.26 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/1.334, allocations: 1.068 MB / 1.261 GB, free: 18.83 MB / 1.014 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.008713/1.342, allocations: 4.338 MB / 1.265 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.344, allocations: 0.7627 MB / 1.266 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000979/1.345, allocations: 406.6 kB / 1.266 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/1.346, allocations: 101 kB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/1.346, allocations: 46.03 kB / 1.266 GB, free: 16.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/1.346, allocations: 0 / 1.266 GB, free: 16.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006937/1.353, allocations: 2.198 MB / 1.268 GB, free: 16.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/1.353, allocations: 56.12 kB / 1.269 GB, free: 16.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/1.354, allocations: 0.8656 MB / 1.269 GB, free: 16.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.771e-05/1.355, allocations: 42.23 kB / 1.269 GB, free: 16.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/1.355, allocations: 495.2 kB / 1.27 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/1.355, allocations: 166.5 kB / 1.27 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/1.355, allocations: 122.3 kB / 1.27 GB, free: 15.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.355, allocations: 330.7 kB / 1.27 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/1.356, allocations: 373.8 kB / 1.271 GB, free: 15.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/1.358, allocations: 0.4998 MB / 1.271 GB, free: 15.3 MB / 1.014 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.006452/1.364, allocations: 2.289 MB / 1.274 GB, free: 14.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.364, allocations: 1.312 kB / 1.274 GB, free: 14.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002476/1.367, allocations: 0.9942 MB / 1.275 GB, free: 14.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.367, allocations: 6.781 kB / 1.275 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.367, allocations: 8.094 kB / 1.275 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.367, allocations: 10.22 kB / 1.275 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/1.368, allocations: 194.7 kB / 1.275 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.368, allocations: 9.812 kB / 1.275 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.369, allocations: 107.5 kB / 1.275 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/1.369, allocations: 29.36 kB / 1.275 GB, free: 14.86 MB / 1.014 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.000569/1.37, allocations: 307 kB / 1.275 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/1.37, allocations: 99.14 kB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/1.37, allocations: 113.2 kB / 1.275 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.37, allocations: 4.875 kB / 1.275 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.37, allocations: 1.188 kB / 1.275 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/1.372, allocations: 1.032 MB / 1.276 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/1.376, allocations: 2.159 MB / 1.278 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/1.376, allocations: 3.375 kB / 1.278 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/1.377, allocations: 166.4 kB / 1.279 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.377, allocations: 5.938 kB / 1.279 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/1.377, allocations: 17.89 kB / 1.279 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/1.377, allocations: 9.906 kB / 1.279 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.377, allocations: 11.66 kB / 1.279 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/1.38, allocations: 1.424 MB / 1.28 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/1.381, allocations: 261.4 kB / 1.28 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/1.381, allocations: 16.84 kB / 1.28 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.382, allocations: 96.09 kB / 1.28 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/1.382, allocations: 43.56 kB / 1.28 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/1.382, allocations: 25.88 kB / 1.281 GB, free: 13.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008612/1.383, allocations: 0.6033 MB / 1.281 GB, free: 13.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.383, allocations: 0 / 1.281 GB, free: 13.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001069/1.384, allocations: 268.9 kB / 1.281 GB, free: 13.18 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.0005064/1.385, allocations: 216.1 kB / 1.282 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002095/1.387, allocations: 0.8158 MB / 1.282 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.387, allocations: 2.281 kB / 1.282 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009545/1.388, allocations: 407 kB / 1.283 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/1.391, allocations: 0.5576 MB / 1.283 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/1.396, allocations: 2.551 MB / 1.286 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/1.397, allocations: 1.107 MB / 1.287 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001297/1.398, allocations: 259.2 kB / 1.287 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.398, allocations: 84.17 kB / 1.287 GB, free: 10.98 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.398, allocations: 0 / 1.287 GB, free: 10.98 MB / 1.014 GB Notification: Performance of Templates: time 0.03654/1.435, allocations: 20.18 MB / 1.307 GB, free: 9.223 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches