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.001752/0.001752, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002026/0.002026, allocations: 198.1 kB / 16.14 MB, free: 6.75 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.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.768/2.768, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.91 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8166/0.8185, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2452/1.064, allocations: 188.2 MB / 1.2 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01134/1.075, allocations: 5.758 MB / 1.206 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/1.077, allocations: 35.86 kB / 1.206 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/1.079, allocations: 0.4975 MB / 1.207 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005603/1.085, allocations: 1.521 MB / 1.208 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/1.089, allocations: 1.1 MB / 1.209 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005604/1.095, allocations: 3.536 MB / 1.213 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/1.096, allocations: 0.8887 MB / 1.213 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/1.099, allocations: 0.8986 MB / 1.214 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/1.102, allocations: 0.8835 MB / 1.215 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/1.102, allocations: 56 kB / 1.215 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005101/1.107, allocations: 1.734 MB / 1.217 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007859/1.108, allocations: 462.7 kB / 1.217 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/1.109, allocations: 0.5831 MB / 1.218 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/1.113, allocations: 2.185 MB / 1.22 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.113, allocations: 4 kB / 1.22 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/1.113, allocations: 0 / 1.22 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.133e-05/1.113, allocations: 0 / 1.22 GB, free: 1.605 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.003894/1.117, allocations: 1.527 MB / 1.222 GB, free: 24 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/1.117, allocations: 8.031 kB / 1.222 GB, free: 16 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00371/1.121, allocations: 470.1 kB / 1.222 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/1.124, allocations: 0.8278 MB / 1.223 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005445/1.125, allocations: 117.9 kB / 1.223 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/1.125, allocations: 84 kB / 1.223 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/1.129, allocations: 1.19 MB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.129, allocations: 3.938 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.129, allocations: 36 kB / 1.224 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-05/1.129, allocations: 37.98 kB / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/1.132, allocations: 1.077 MB / 1.225 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.009935/1.142, allocations: 4.342 MB / 1.23 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/1.144, allocations: 0.7527 MB / 1.23 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/1.145, allocations: 413.9 kB / 1.231 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/1.145, allocations: 101.1 kB / 1.231 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/1.145, allocations: 42.56 kB / 1.231 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/1.145, allocations: 0 / 1.231 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.006909/1.152, allocations: 2.207 MB / 1.233 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.152, allocations: 55.41 kB / 1.233 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.154, allocations: 0.8608 MB / 1.234 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/1.154, allocations: 41.64 kB / 1.234 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/1.154, allocations: 499.3 kB / 1.234 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/1.155, allocations: 161.6 kB / 1.235 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.155, allocations: 126.2 kB / 1.235 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002738/1.155, allocations: 326 kB / 1.235 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/1.156, allocations: 377 kB / 1.235 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/1.157, allocations: 0.5052 MB / 1.236 GB, free: 0.9023 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.007179/1.165, allocations: 2.289 MB / 1.238 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.165, allocations: 0 / 1.238 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00288/1.168, allocations: 1.002 MB / 1.239 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.168, allocations: 5.25 kB / 1.239 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.168, allocations: 4 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/1.168, allocations: 11.94 kB / 1.239 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.169, allocations: 195.8 kB / 1.239 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/1.169, allocations: 8 kB / 1.239 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.17, allocations: 107.7 kB / 1.239 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/1.17, allocations: 27.98 kB / 1.239 GB, free: 13.18 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.0008729/1.171, allocations: 309.5 kB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/1.171, allocations: 94.88 kB / 1.24 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/1.172, allocations: 104.8 kB / 1.24 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.172, allocations: 7.938 kB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.172, allocations: 0 / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/1.174, allocations: 1.046 MB / 1.241 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/1.179, allocations: 2.152 MB / 1.243 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.179, allocations: 4 kB / 1.243 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/1.18, allocations: 168.1 kB / 1.243 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/1.18, allocations: 4 kB / 1.243 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/1.18, allocations: 19.98 kB / 1.243 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/1.18, allocations: 8 kB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.18, allocations: 11.81 kB / 1.243 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/1.184, allocations: 1.436 MB / 1.245 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/1.185, allocations: 251.9 kB / 1.245 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.185, allocations: 12 kB / 1.245 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.186, allocations: 101.5 kB / 1.245 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.186, allocations: 43.97 kB / 1.245 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.186, allocations: 27.97 kB / 1.245 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009561/1.187, allocations: 0.6005 MB / 1.246 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.187, allocations: 0 / 1.246 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009815/1.188, allocations: 272 kB / 1.246 GB, free: 6.266 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.0006696/1.189, allocations: 207.7 kB / 1.246 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002438/1.191, allocations: 0.8149 MB / 1.247 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.191, allocations: 0 / 1.247 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.193, allocations: 405 kB / 1.247 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.195, allocations: 0.5559 MB / 1.248 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006188/1.202, allocations: 2.54 MB / 1.25 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008521/1.203, allocations: 1.111 MB / 1.251 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00123/1.204, allocations: 275.7 kB / 1.252 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/1.204, allocations: 79.42 kB / 1.252 GB, free: 204 kB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.204, allocations: 0 / 1.252 GB, free: 204 kB / 0.9981 GB Notification: Performance of Templates: time 0.5204/1.725, allocations: 20.19 MB / 1.271 GB, free: 227.5 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