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.001715/0.001715, 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.001733/0.001733, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.518/1.518, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.814/2.814, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7558, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2477/1.004, allocations: 188 MB / 1.2 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01027/1.014, allocations: 5.678 MB / 1.206 GB, free: 368 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/1.015, allocations: 35.75 kB / 1.206 GB, free: 332 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/1.017, allocations: 0.5014 MB / 1.206 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004938/1.022, allocations: 1.517 MB / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/1.025, allocations: 1.112 MB / 1.209 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00395/1.029, allocations: 2.55 MB / 1.212 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/1.031, allocations: 1.004 MB / 1.213 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/1.033, allocations: 1.039 MB / 1.214 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/1.036, allocations: 0.9086 MB / 1.214 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002448/1.036, allocations: 112 kB / 1.215 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/1.039, allocations: 1.625 MB / 1.216 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006655/1.04, allocations: 0.5026 MB / 1.217 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/1.041, allocations: 0.6456 MB / 1.217 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/1.045, allocations: 2.248 MB / 1.219 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.045, allocations: 0 / 1.219 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.053e-06/1.045, allocations: 0 / 1.219 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.946e-05/1.045, allocations: 0 / 1.219 GB, free: 2.516 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.003024/1.048, allocations: 1.515 MB / 1.221 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.048, allocations: 16.03 kB / 1.221 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/1.051, allocations: 466.1 kB / 1.221 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/1.053, allocations: 0.8162 MB / 1.222 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/1.054, allocations: 121.9 kB / 1.222 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/1.054, allocations: 88 kB / 1.222 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/1.056, allocations: 1.191 MB / 1.224 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.056, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.057, allocations: 40 kB / 1.224 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/1.057, allocations: 37.98 kB / 1.224 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/1.059, allocations: 1.073 MB / 1.225 GB, free: 13.05 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.008669/1.068, allocations: 4.339 MB / 1.229 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/1.07, allocations: 0.772 MB / 1.23 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/1.071, allocations: 402.6 kB / 1.23 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/1.072, allocations: 109.1 kB / 1.23 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/1.072, allocations: 42.56 kB / 1.23 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 3.086e-06/1.072, allocations: 0 / 1.23 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.006704/1.078, allocations: 2.21 MB / 1.232 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.078, allocations: 55.41 kB / 1.232 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.08, allocations: 0.8647 MB / 1.233 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/1.08, allocations: 37.7 kB / 1.233 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/1.08, allocations: 495.3 kB / 1.234 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/1.08, allocations: 165.6 kB / 1.234 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.081, allocations: 118.2 kB / 1.234 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.081, allocations: 334 kB / 1.234 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009599/1.082, allocations: 369 kB / 1.235 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.083, allocations: 0.5053 MB / 1.235 GB, free: 1.824 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.006424/1.089, allocations: 2.293 MB / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.089, allocations: 0 / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002477/1.092, allocations: 0.9899 MB / 1.238 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.092, allocations: 11.98 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.092, allocations: 4 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.092, allocations: 7.938 kB / 1.238 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009777/1.093, allocations: 191.9 kB / 1.239 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/1.093, allocations: 19.86 kB / 1.239 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.094, allocations: 107.6 kB / 1.239 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/1.094, allocations: 24 kB / 1.239 GB, free: 14.1 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.0005347/1.095, allocations: 317.5 kB / 1.239 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.095, allocations: 94.88 kB / 1.239 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/1.095, allocations: 108.7 kB / 1.239 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.095, allocations: 7.938 kB / 1.239 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.095, allocations: 0 / 1.239 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002112/1.097, allocations: 1.034 MB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/1.102, allocations: 2.156 MB / 1.242 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.102, allocations: 4.406 kB / 1.242 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/1.103, allocations: 167.8 kB / 1.243 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.103, allocations: 8 kB / 1.243 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/1.103, allocations: 16 kB / 1.243 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/1.103, allocations: 11.92 kB / 1.243 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.103, allocations: 7.938 kB / 1.243 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/1.106, allocations: 1.421 MB / 1.244 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/1.107, allocations: 255.9 kB / 1.244 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.107, allocations: 19.98 kB / 1.244 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/1.108, allocations: 97.5 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.108, allocations: 47.83 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/1.108, allocations: 27.98 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008595/1.109, allocations: 0.6005 MB / 1.245 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.109, allocations: 4 kB / 1.245 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009439/1.11, allocations: 264 kB / 1.245 GB, free: 7.191 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.0005866/1.111, allocations: 220.1 kB / 1.245 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002601/1.113, allocations: 0.882 MB / 1.246 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.113, allocations: 8 kB / 1.246 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.115, allocations: 404.3 kB / 1.247 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.117, allocations: 0.5769 MB / 1.247 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/1.123, allocations: 2.538 MB / 1.25 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.124, allocations: 1.106 MB / 1.251 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001373/1.126, allocations: 263.8 kB / 1.251 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/1.126, allocations: 79.42 kB / 1.251 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/1.126, allocations: 0 / 1.251 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of Templates: time 0.5568/1.683, allocations: 20.82 MB / 1.271 GB, free: 227.8 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=400 -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