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.009257/0.009258, allocations: 103 kB / 15.73 MB, free: 5.492 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.001841/0.001841, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.433/1.433, 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 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 64.14 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2295/1.269, allocations: 190.5 MB / 1.394 GB, free: 14.42 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01097/1.28, allocations: 5.708 MB / 1.399 GB, free: 8.699 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/1.282, allocations: 43.75 kB / 1.399 GB, free: 8.656 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/1.284, allocations: 0.5903 MB / 1.4 GB, free: 8.062 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005101/1.289, allocations: 1.68 MB / 1.402 GB, free: 6.375 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/1.293, allocations: 1.219 MB / 1.403 GB, free: 5.164 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00383/1.297, allocations: 2.562 MB / 1.405 GB, free: 2.59 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/1.298, allocations: 1.034 MB / 1.406 GB, free: 1.539 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/1.301, allocations: 1.094 MB / 1.407 GB, free: 452 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/1.303, allocations: 0.8512 MB / 1.408 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004053/1.304, allocations: 108 kB / 1.408 GB, free: 15.49 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/1.307, allocations: 1.563 MB / 1.41 GB, free: 13.92 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008108/1.308, allocations: 0.4948 MB / 1.41 GB, free: 13.43 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/1.309, allocations: 0.6378 MB / 1.411 GB, free: 12.79 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004157/1.314, allocations: 2.177 MB / 1.413 GB, free: 10.6 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.314, allocations: 0 / 1.413 GB, free: 10.6 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.743e-06/1.314, allocations: 0 / 1.413 GB, free: 10.6 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.921e-05/1.314, allocations: 8 kB / 1.413 GB, free: 10.59 MB / 1.139 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.003417/1.317, allocations: 1.515 MB / 1.415 GB, free: 9.027 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.317, allocations: 8.031 kB / 1.415 GB, free: 9.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/1.32, allocations: 478 kB / 1.415 GB, free: 8.551 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/1.322, allocations: 0.8475 MB / 1.416 GB, free: 7.66 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/1.322, allocations: 69.98 kB / 1.416 GB, free: 7.59 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.323, allocations: 84 kB / 1.416 GB, free: 7.508 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/1.325, allocations: 1.179 MB / 1.417 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/1.325, allocations: 11.88 kB / 1.417 GB, free: 6.297 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.325, allocations: 36 kB / 1.417 GB, free: 6.262 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/1.326, allocations: 34 kB / 1.417 GB, free: 6.227 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/1.328, allocations: 1.07 MB / 1.418 GB, free: 5.16 MB / 1.139 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.007738/1.336, allocations: 4.304 MB / 1.422 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/1.338, allocations: 0.7366 MB / 1.423 GB, free: 15.85 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009486/1.339, allocations: 410.9 kB / 1.424 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/1.339, allocations: 101.1 kB / 1.424 GB, free: 15.33 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.339, allocations: 42.5 kB / 1.424 GB, free: 15.28 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/1.339, allocations: 4 kB / 1.424 GB, free: 15.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.006044/1.345, allocations: 2.17 MB / 1.426 GB, free: 13.05 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/1.345, allocations: 63.34 kB / 1.426 GB, free: 12.98 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.347, allocations: 0.8686 MB / 1.427 GB, free: 12.1 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/1.347, allocations: 37.7 kB / 1.427 GB, free: 12.05 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/1.347, allocations: 491.3 kB / 1.427 GB, free: 11.57 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/1.347, allocations: 165.6 kB / 1.427 GB, free: 11.41 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/1.348, allocations: 118.2 kB / 1.428 GB, free: 11.29 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.348, allocations: 326 kB / 1.428 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009718/1.349, allocations: 377 kB / 1.428 GB, free: 10.59 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/1.35, allocations: 0.4974 MB / 1.429 GB, free: 10.04 MB / 1.154 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.006091/1.356, allocations: 2.259 MB / 1.431 GB, free: 7.715 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.356, allocations: 4 kB / 1.431 GB, free: 7.711 MB / 1.154 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002325/1.358, allocations: 0.9859 MB / 1.432 GB, free: 6.719 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.358, allocations: 8 kB / 1.432 GB, free: 6.711 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.358, allocations: 4 kB / 1.432 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.358, allocations: 4 kB / 1.432 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/1.359, allocations: 199.7 kB / 1.432 GB, free: 6.508 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.359, allocations: 8 kB / 1.432 GB, free: 6.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.36, allocations: 67.88 kB / 1.432 GB, free: 6.434 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/1.36, allocations: 27.98 kB / 1.432 GB, free: 6.406 MB / 1.154 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.000543/1.361, allocations: 313.5 kB / 1.432 GB, free: 6.09 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/1.361, allocations: 94.88 kB / 1.433 GB, free: 5.996 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/1.362, allocations: 104.7 kB / 1.433 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.362, allocations: 11.94 kB / 1.433 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.362, allocations: 0 / 1.433 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001953/1.364, allocations: 1.026 MB / 1.434 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/1.368, allocations: 2.145 MB / 1.436 GB, free: 2.523 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.368, allocations: 4 kB / 1.436 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/1.369, allocations: 164.1 kB / 1.436 GB, free: 2.359 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/1.369, allocations: 4 kB / 1.436 GB, free: 2.355 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/1.369, allocations: 15.98 kB / 1.436 GB, free: 2.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.369, allocations: 12 kB / 1.436 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.475e-06/1.369, allocations: 11.94 kB / 1.436 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/1.372, allocations: 1.414 MB / 1.437 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/1.373, allocations: 255.9 kB / 1.438 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/1.373, allocations: 12 kB / 1.438 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/1.374, allocations: 71.86 kB / 1.438 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/1.374, allocations: 35.89 kB / 1.438 GB, free: 460 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/1.374, allocations: 27.98 kB / 1.438 GB, free: 432 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008817/1.375, allocations: 0.6044 MB / 1.438 GB, free: 15.82 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.71e-07/1.375, allocations: 0 / 1.438 GB, free: 15.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000973/1.376, allocations: 268 kB / 1.439 GB, free: 15.56 MB / 1.17 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.0004949/1.377, allocations: 209.4 kB / 1.439 GB, free: 15.36 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002088/1.379, allocations: 0.8118 MB / 1.44 GB, free: 14.55 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.379, allocations: 4 kB / 1.44 GB, free: 14.55 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009477/1.38, allocations: 393 kB / 1.44 GB, free: 14.16 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/1.382, allocations: 0.5832 MB / 1.441 GB, free: 13.59 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/1.387, allocations: 2.175 MB / 1.443 GB, free: 11.34 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/1.388, allocations: 1.106 MB / 1.444 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009166/1.389, allocations: 263.8 kB / 1.444 GB, free: 9.945 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/1.389, allocations: 71.42 kB / 1.444 GB, free: 9.879 MB / 1.17 GB Notification: Performance of SimCode: time 3.91e-07/1.389, allocations: 0 / 1.444 GB, free: 9.879 MB / 1.17 GB Notification: Performance of Templates: time 0.03623/1.425, allocations: 21.1 MB / 1.465 GB, free: 5.09 MB / 1.186 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