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.005757/0.005757, allocations: 100 kB / 15.73 MB, free: 5.609 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.001304/0.001304, allocations: 193.7 kB / 16.67 MB, free: 5.527 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.89 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9542/0.9555, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2115/1.167, allocations: 190.5 MB / 1.412 GB, free: 14.32 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008644/1.176, allocations: 5.725 MB / 1.417 GB, free: 8.578 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/1.177, allocations: 43.75 kB / 1.417 GB, free: 8.535 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/1.179, allocations: 0.5552 MB / 1.418 GB, free: 7.977 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004443/1.183, allocations: 1.618 MB / 1.419 GB, free: 6.352 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/1.187, allocations: 1.21 MB / 1.421 GB, free: 5.148 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003953/1.191, allocations: 2.558 MB / 1.423 GB, free: 2.586 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/1.192, allocations: 1.033 MB / 1.424 GB, free: 1.535 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/1.195, allocations: 1.047 MB / 1.425 GB, free: 496 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/1.197, allocations: 0.8523 MB / 1.426 GB, free: 15.63 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/1.197, allocations: 108 kB / 1.426 GB, free: 15.53 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/1.2, allocations: 1.555 MB / 1.428 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006159/1.201, allocations: 0.4987 MB / 1.428 GB, free: 13.47 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008119/1.201, allocations: 0.6494 MB / 1.429 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/1.205, allocations: 2.192 MB / 1.431 GB, free: 10.62 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/1.205, allocations: 0 / 1.431 GB, free: 10.62 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.002e-06/1.205, allocations: 0 / 1.431 GB, free: 10.62 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.545e-05/1.205, allocations: 0 / 1.431 GB, free: 10.62 MB / 1.154 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.002431/1.207, allocations: 1.552 MB / 1.432 GB, free: 9.012 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.207, allocations: 12.02 kB / 1.432 GB, free: 9 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/1.21, allocations: 470.8 kB / 1.433 GB, free: 8.539 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/1.212, allocations: 0.8715 MB / 1.434 GB, free: 7.625 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/1.212, allocations: 62 kB / 1.434 GB, free: 7.566 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/1.212, allocations: 88 kB / 1.434 GB, free: 7.48 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/1.215, allocations: 1.175 MB / 1.435 GB, free: 6.281 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/1.215, allocations: 4 kB / 1.435 GB, free: 6.277 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/1.215, allocations: 39.98 kB / 1.435 GB, free: 6.238 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/1.215, allocations: 34 kB / 1.435 GB, free: 6.207 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/1.218, allocations: 1.066 MB / 1.436 GB, free: 5.137 MB / 1.154 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.008318/1.226, allocations: 4.313 MB / 1.44 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/1.228, allocations: 0.7618 MB / 1.441 GB, free: 15.8 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.229, allocations: 403.2 kB / 1.441 GB, free: 15.4 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/1.229, allocations: 105.1 kB / 1.442 GB, free: 15.28 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/1.229, allocations: 38.56 kB / 1.442 GB, free: 15.23 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.524e-06/1.229, allocations: 0 / 1.442 GB, free: 15.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.005907/1.235, allocations: 2.188 MB / 1.444 GB, free: 12.99 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.235, allocations: 63.34 kB / 1.444 GB, free: 12.92 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.236, allocations: 0.8647 MB / 1.445 GB, free: 12.05 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/1.236, allocations: 37.7 kB / 1.445 GB, free: 12 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/1.237, allocations: 0.4924 MB / 1.445 GB, free: 11.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/1.237, allocations: 158.6 kB / 1.445 GB, free: 11.35 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.237, allocations: 130.2 kB / 1.445 GB, free: 11.21 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.237, allocations: 330 kB / 1.446 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009865/1.238, allocations: 365 kB / 1.446 GB, free: 10.53 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/1.24, allocations: 0.5014 MB / 1.447 GB, free: 9.977 MB / 1.17 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.006219/1.246, allocations: 2.27 MB / 1.449 GB, free: 7.641 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.246, allocations: 0 / 1.449 GB, free: 7.641 MB / 1.17 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002606/1.248, allocations: 0.9825 MB / 1.45 GB, free: 6.648 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.248, allocations: 8 kB / 1.45 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.248, allocations: 4 kB / 1.45 GB, free: 6.637 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.248, allocations: 12.12 kB / 1.45 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/1.249, allocations: 191.7 kB / 1.45 GB, free: 6.438 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/1.249, allocations: 11.94 kB / 1.45 GB, free: 6.426 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.25, allocations: 71.89 kB / 1.45 GB, free: 6.355 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/1.251, allocations: 31.92 kB / 1.45 GB, free: 6.324 MB / 1.17 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.000562/1.251, allocations: 313.5 kB / 1.45 GB, free: 6.008 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.251, allocations: 95.44 kB / 1.45 GB, free: 5.914 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/1.252, allocations: 104.8 kB / 1.451 GB, free: 5.809 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/1.252, allocations: 7.938 kB / 1.451 GB, free: 5.801 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.252, allocations: 4 kB / 1.451 GB, free: 5.797 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002272/1.254, allocations: 1.022 MB / 1.452 GB, free: 4.688 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005009/1.259, allocations: 2.141 MB / 1.454 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.259, allocations: 4 kB / 1.454 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/1.26, allocations: 163.8 kB / 1.454 GB, free: 2.285 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.26, allocations: 4 kB / 1.454 GB, free: 2.281 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/1.26, allocations: 15.98 kB / 1.454 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.26, allocations: 7.938 kB / 1.454 GB, free: 2.258 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/1.26, allocations: 7.938 kB / 1.454 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/1.263, allocations: 1.419 MB / 1.455 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/1.264, allocations: 260.4 kB / 1.455 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.264, allocations: 12 kB / 1.455 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008897/1.265, allocations: 72.8 kB / 1.456 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.265, allocations: 39.84 kB / 1.456 GB, free: 384 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/1.265, allocations: 31.97 kB / 1.456 GB, free: 352 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001016/1.266, allocations: 0.6005 MB / 1.456 GB, free: 15.75 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 0 / 1.456 GB, free: 15.75 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001067/1.267, allocations: 271.9 kB / 1.456 GB, free: 15.48 MB / 1.186 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.0006579/1.268, allocations: 211.9 kB / 1.457 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002354/1.27, allocations: 0.8124 MB / 1.457 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.27, allocations: 4.062 kB / 1.457 GB, free: 14.45 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009507/1.271, allocations: 392.3 kB / 1.458 GB, free: 14.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/1.273, allocations: 0.5742 MB / 1.458 GB, free: 13.51 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/1.279, allocations: 2.211 MB / 1.461 GB, free: 11.22 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/1.279, allocations: 1.11 MB / 1.462 GB, free: 10.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00083/1.28, allocations: 259.8 kB / 1.462 GB, free: 9.828 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/1.281, allocations: 75.41 kB / 1.462 GB, free: 9.754 MB / 1.186 GB Notification: Performance of SimCode: time 3.2e-07/1.281, allocations: 0 / 1.462 GB, free: 9.754 MB / 1.186 GB Notification: Performance of Templates: time 0.03865/1.319, allocations: 21.09 MB / 1.483 GB, free: 4.961 MB / 1.201 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