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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001674/0.001674, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001474/0.001474, allocations: 193.5 kB / 16.14 MB, free: 6.699 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.507/1.507, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.126/3.126, allocations: 482.4 MB / 0.7542 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 69.8 kB / 0.9231 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 162.2 MB / 1.082 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.8967/1.258, allocations: 188.3 MB / 1.265 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01081/1.269, allocations: 5.778 MB / 1.271 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/1.272, allocations: 35.91 kB / 1.271 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/1.274, allocations: 0.4967 MB / 1.272 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005503/1.28, allocations: 1.514 MB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/1.284, allocations: 1.091 MB / 1.274 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006942/1.291, allocations: 3.457 MB / 1.278 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/1.293, allocations: 0.8952 MB / 1.278 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/1.297, allocations: 1.063 MB / 1.279 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/1.3, allocations: 0.8699 MB / 1.28 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005422/1.301, allocations: 54 kB / 1.28 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/1.306, allocations: 1.726 MB / 1.282 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001414/1.308, allocations: 463 kB / 1.282 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00217/1.31, allocations: 0.5888 MB / 1.283 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006687/1.317, allocations: 2.195 MB / 1.285 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.317, allocations: 2.906 kB / 1.285 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/1.317, allocations: 0 / 1.285 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.908e-05/1.317, allocations: 0 / 1.285 GB, free: 6.66 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.004115/1.321, allocations: 1.522 MB / 1.287 GB, free: 21.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.321, allocations: 8.656 kB / 1.287 GB, free: 21.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/1.324, allocations: 484 kB / 1.287 GB, free: 21.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/1.326, allocations: 0.8117 MB / 1.288 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000376/1.327, allocations: 123.9 kB / 1.288 GB, free: 21.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.327, allocations: 84.31 kB / 1.288 GB, free: 21.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/1.33, allocations: 1.183 MB / 1.289 GB, free: 21.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/1.33, allocations: 3.906 kB / 1.289 GB, free: 21.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.33, allocations: 40.17 kB / 1.289 GB, free: 21.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/1.33, allocations: 42.52 kB / 1.289 GB, free: 21.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/1.332, allocations: 1.077 MB / 1.29 GB, free: 21.3 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.007991/1.34, allocations: 4.495 MB / 1.295 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.342, allocations: 0.7646 MB / 1.296 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009076/1.343, allocations: 409.4 kB / 1.296 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.344, allocations: 100.1 kB / 1.296 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/1.344, allocations: 45.12 kB / 1.296 GB, free: 19.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/1.344, allocations: 0 / 1.296 GB, free: 19.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006787/1.35, allocations: 2.2 MB / 1.298 GB, free: 18.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.351, allocations: 59.75 kB / 1.298 GB, free: 18.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.352, allocations: 0.8663 MB / 1.299 GB, free: 18.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.352, allocations: 36.92 kB / 1.299 GB, free: 18.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/1.353, allocations: 498.7 kB / 1.3 GB, free: 18.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/1.353, allocations: 161 kB / 1.3 GB, free: 18.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.353, allocations: 120.8 kB / 1.3 GB, free: 18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002116/1.353, allocations: 338.3 kB / 1.3 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.354, allocations: 378.3 kB / 1.301 GB, free: 17.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.355, allocations: 0.5103 MB / 1.301 GB, free: 17.53 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.006475/1.362, allocations: 2.283 MB / 1.303 GB, free: 17.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.362, allocations: 1.031 kB / 1.303 GB, free: 17.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002664/1.365, allocations: 0.9957 MB / 1.304 GB, free: 17.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/1.365, allocations: 8.562 kB / 1.304 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.365, allocations: 3.625 kB / 1.304 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/1.365, allocations: 6.562 kB / 1.304 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/1.366, allocations: 193.3 kB / 1.304 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.366, allocations: 14.48 kB / 1.305 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.367, allocations: 100.2 kB / 1.305 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/1.367, allocations: 30.19 kB / 1.305 GB, free: 17.07 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.0007541/1.368, allocations: 312.4 kB / 1.305 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/1.368, allocations: 94.75 kB / 1.305 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/1.369, allocations: 103.1 kB / 1.305 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.369, allocations: 4.844 kB / 1.305 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.369, allocations: 0 / 1.305 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00221/1.371, allocations: 1.038 MB / 1.306 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/1.377, allocations: 2.165 MB / 1.308 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.377, allocations: 3.594 kB / 1.308 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009076/1.377, allocations: 169.5 kB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/1.377, allocations: 5.844 kB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/1.378, allocations: 16.02 kB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.378, allocations: 5.312 kB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.378, allocations: 7.062 kB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/1.381, allocations: 1.435 MB / 1.31 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/1.382, allocations: 256.2 kB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.382, allocations: 12.09 kB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.383, allocations: 97.27 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.383, allocations: 40.5 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/1.383, allocations: 29.58 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008997/1.384, allocations: 0.6033 MB / 1.311 GB, free: 15.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.384, allocations: 0 / 1.311 GB, free: 15.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001138/1.385, allocations: 273.7 kB / 1.311 GB, free: 15.37 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.0005677/1.386, allocations: 207.6 kB / 1.311 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00223/1.388, allocations: 0.8154 MB / 1.312 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.388, allocations: 1.25 kB / 1.312 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009943/1.389, allocations: 395.2 kB / 1.312 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.392, allocations: 0.5604 MB / 1.313 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/1.397, allocations: 2.556 MB / 1.316 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/1.397, allocations: 1.111 MB / 1.317 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001225/1.399, allocations: 261 kB / 1.317 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/1.399, allocations: 72.91 kB / 1.317 GB, free: 13.15 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.399, allocations: 0 / 1.317 GB, free: 13.15 MB / 1.014 GB Notification: Performance of Templates: time 0.0364/1.435, allocations: 20.18 MB / 1.337 GB, free: 7.465 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=400 -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