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.001319/0.001319, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001226/0.001226, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.942/2.942, allocations: 461.8 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 66.69 kB / 0.8986 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3347, allocations: 157.4 MB / 1.052 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2041/0.5388, allocations: 188 MB / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.5498, allocations: 5.68 MB / 1.241 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.5519, allocations: 35.75 kB / 1.241 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.554, allocations: 0.5091 MB / 1.242 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.5588, allocations: 1.516 MB / 1.243 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.5629, allocations: 1.105 MB / 1.244 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004339/0.5673, allocations: 2.554 MB / 1.247 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7414/1.309, allocations: 0.9952 MB / 1.248 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/1.312, allocations: 1.048 MB / 1.249 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/1.315, allocations: 0.9071 MB / 1.25 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003576/1.315, allocations: 110.2 kB / 1.25 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/1.319, allocations: 1.623 MB / 1.252 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005867/1.32, allocations: 0.4983 MB / 1.252 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009622/1.321, allocations: 0.6454 MB / 1.253 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003832/1.324, allocations: 2.239 MB / 1.255 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.324, allocations: 5.078 kB / 1.255 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.324, allocations: 0.6562 kB / 1.255 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.176e-05/1.324, allocations: 0 / 1.255 GB, free: 4.449 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.003206/1.328, allocations: 1.527 MB / 1.256 GB, free: 19.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.328, allocations: 13.41 kB / 1.256 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/1.331, allocations: 470.7 kB / 1.257 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/1.333, allocations: 0.8164 MB / 1.258 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/1.333, allocations: 122.6 kB / 1.258 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.333, allocations: 90.2 kB / 1.258 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/1.336, allocations: 1.182 MB / 1.259 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.336, allocations: 3.812 kB / 1.259 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.336, allocations: 37.91 kB / 1.259 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/1.336, allocations: 37.28 kB / 1.259 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/1.339, allocations: 1.076 MB / 1.26 GB, free: 19.16 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.008622/1.347, allocations: 4.329 MB / 1.264 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/1.35, allocations: 0.7619 MB / 1.265 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/1.351, allocations: 407.7 kB / 1.265 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/1.351, allocations: 101.7 kB / 1.266 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/1.351, allocations: 44.38 kB / 1.266 GB, free: 17.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.815e-06/1.351, allocations: 0.9375 kB / 1.266 GB, free: 17.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.007338/1.358, allocations: 2.204 MB / 1.268 GB, free: 16.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/1.359, allocations: 57.05 kB / 1.268 GB, free: 16.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/1.36, allocations: 0.8671 MB / 1.269 GB, free: 16.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.36, allocations: 34.73 kB / 1.269 GB, free: 16.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/1.361, allocations: 498.5 kB / 1.269 GB, free: 16.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/1.361, allocations: 159.4 kB / 1.269 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/1.361, allocations: 120.5 kB / 1.269 GB, free: 16.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.362, allocations: 332.2 kB / 1.27 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/1.363, allocations: 373.3 kB / 1.27 GB, free: 15.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.364, allocations: 0.5069 MB / 1.271 GB, free: 15.76 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.007108/1.371, allocations: 2.293 MB / 1.273 GB, free: 15.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.371, allocations: 0.875 kB / 1.273 GB, free: 15.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002895/1.374, allocations: 0.9973 MB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.374, allocations: 7.844 kB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.374, allocations: 3.469 kB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/1.374, allocations: 11.3 kB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.376, allocations: 193 kB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.376, allocations: 8.078 kB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.377, allocations: 107.1 kB / 1.274 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/1.377, allocations: 24.88 kB / 1.274 GB, free: 15.42 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.0007819/1.378, allocations: 316.7 kB / 1.274 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.378, allocations: 94.94 kB / 1.275 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/1.378, allocations: 109.4 kB / 1.275 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/1.378, allocations: 4.344 kB / 1.275 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.378, allocations: 1.219 kB / 1.275 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/1.381, allocations: 1.04 MB / 1.276 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/1.386, allocations: 2.144 MB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.386, allocations: 7.344 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009049/1.387, allocations: 166.8 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.387, allocations: 4.625 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/1.387, allocations: 19.44 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/1.387, allocations: 12.3 kB / 1.278 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.387, allocations: 3.469 kB / 1.278 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/1.391, allocations: 1.43 MB / 1.279 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009156/1.392, allocations: 256.6 kB / 1.28 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/1.392, allocations: 17.12 kB / 1.28 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.394, allocations: 106.5 kB / 1.28 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/1.394, allocations: 36.53 kB / 1.28 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/1.394, allocations: 33.03 kB / 1.28 GB, free: 13.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001463/1.396, allocations: 0.6002 MB / 1.28 GB, free: 13.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.91e-07/1.396, allocations: 0 / 1.28 GB, free: 13.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001863/1.397, allocations: 265.5 kB / 1.281 GB, free: 13.83 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.0009035/1.398, allocations: 214.3 kB / 1.281 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003754/1.402, allocations: 0.9014 MB / 1.282 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.402, allocations: 2.406 kB / 1.282 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/1.404, allocations: 397.2 kB / 1.282 GB, free: 13.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004763/1.409, allocations: 0.5858 MB / 1.283 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008361/1.417, allocations: 2.546 MB / 1.285 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.418, allocations: 1.11 MB / 1.286 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002069/1.42, allocations: 258.9 kB / 1.286 GB, free: 11.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/1.421, allocations: 75.92 kB / 1.287 GB, free: 11.59 MB / 1.014 GB Notification: Performance of SimCode: time 1.723e-06/1.421, allocations: 0 / 1.287 GB, free: 11.59 MB / 1.014 GB Notification: Performance of Templates: time 0.06259/1.483, allocations: 20.8 MB / 1.307 GB, free: 10.14 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