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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.7 MB / 0.7452 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 71.56 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3609, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.951/1.312, allocations: 190.5 MB / 1.254 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01023/1.322, allocations: 5.707 MB / 1.26 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/1.324, allocations: 44.55 kB / 1.26 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/1.326, allocations: 0.5648 MB / 1.26 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004821/1.331, allocations: 1.615 MB / 1.262 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/1.335, allocations: 1.197 MB / 1.263 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004163/1.339, allocations: 2.553 MB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/1.341, allocations: 1.042 MB / 1.267 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/1.343, allocations: 1.04 MB / 1.268 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/1.345, allocations: 0.851 MB / 1.268 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/1.346, allocations: 107.2 kB / 1.269 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/1.349, allocations: 1.552 MB / 1.27 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007621/1.35, allocations: 0.5018 MB / 1.271 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/1.351, allocations: 0.6438 MB / 1.271 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004388/1.356, allocations: 2.155 MB / 1.273 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.356, allocations: 0 / 1.273 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.527e-06/1.356, allocations: 0.7031 kB / 1.273 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.571e-05/1.356, allocations: 0.9688 kB / 1.273 GB, free: 5.391 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.003443/1.359, allocations: 1.524 MB / 1.275 GB, free: 20.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.359, allocations: 9.25 kB / 1.275 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/1.363, allocations: 477.5 kB / 1.275 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/1.364, allocations: 0.8162 MB / 1.276 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/1.365, allocations: 125.5 kB / 1.276 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/1.365, allocations: 87.94 kB / 1.276 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/1.368, allocations: 1.177 MB / 1.277 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.368, allocations: 6.266 kB / 1.277 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.368, allocations: 39.89 kB / 1.277 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.294e-05/1.368, allocations: 34.98 kB / 1.278 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/1.371, allocations: 1.074 MB / 1.279 GB, free: 20.11 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.008321/1.379, allocations: 4.358 MB / 1.283 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/1.383, allocations: 0.7623 MB / 1.284 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/1.384, allocations: 410.8 kB / 1.284 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/1.385, allocations: 104.7 kB / 1.284 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/1.385, allocations: 39.78 kB / 1.284 GB, free: 18.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 5.991e-06/1.385, allocations: 0 / 1.284 GB, free: 18.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.009748/1.394, allocations: 2.206 MB / 1.286 GB, free: 17.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.394, allocations: 58.19 kB / 1.286 GB, free: 17.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/1.396, allocations: 0.8662 MB / 1.287 GB, free: 17.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.396, allocations: 36.3 kB / 1.287 GB, free: 17.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/1.397, allocations: 0.4896 MB / 1.288 GB, free: 17.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.397, allocations: 160.9 kB / 1.288 GB, free: 17.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.398, allocations: 121.2 kB / 1.288 GB, free: 17.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.398, allocations: 329.6 kB / 1.288 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/1.399, allocations: 375.3 kB / 1.289 GB, free: 16.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.401, allocations: 0.5065 MB / 1.289 GB, free: 16.67 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.009611/1.411, allocations: 2.293 MB / 1.291 GB, free: 16.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/1.411, allocations: 2.172 kB / 1.291 GB, free: 16.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003963/1.415, allocations: 0.9984 MB / 1.292 GB, free: 16.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.415, allocations: 11 kB / 1.292 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.415, allocations: 3.5 kB / 1.292 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/1.415, allocations: 7.094 kB / 1.292 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.416, allocations: 192.5 kB / 1.293 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/1.416, allocations: 10.41 kB / 1.293 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/1.418, allocations: 67.56 kB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.418, allocations: 25.73 kB / 1.293 GB, free: 16.27 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.0009253/1.419, allocations: 313.1 kB / 1.293 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/1.42, allocations: 97.91 kB / 1.293 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/1.42, allocations: 112.2 kB / 1.293 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.42, allocations: 4.094 kB / 1.293 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.42, allocations: 0 / 1.293 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003069/1.423, allocations: 1.037 MB / 1.294 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/1.431, allocations: 2.163 MB / 1.296 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.431, allocations: 3.062 kB / 1.296 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.433, allocations: 169.4 kB / 1.296 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/1.433, allocations: 10.19 kB / 1.296 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/1.433, allocations: 21.09 kB / 1.296 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/1.433, allocations: 5.75 kB / 1.296 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/1.433, allocations: 6.406 kB / 1.296 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00517/1.438, allocations: 1.425 MB / 1.298 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.439, allocations: 250.9 kB / 1.298 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/1.44, allocations: 22.86 kB / 1.298 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.441, allocations: 69.33 kB / 1.298 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.441, allocations: 37.66 kB / 1.298 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.441, allocations: 33.89 kB / 1.298 GB, free: 14.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001397/1.443, allocations: 0.6047 MB / 1.299 GB, free: 14.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.443, allocations: 4 kB / 1.299 GB, free: 14.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001836/1.445, allocations: 264.7 kB / 1.299 GB, free: 14.58 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.000713/1.445, allocations: 219.3 kB / 1.299 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003001/1.448, allocations: 0.8864 MB / 1.3 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.449, allocations: 2.344 kB / 1.3 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.45, allocations: 398.2 kB / 1.301 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/1.453, allocations: 0.5802 MB / 1.301 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/1.459, allocations: 2.213 MB / 1.303 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/1.46, allocations: 1.109 MB / 1.304 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0014/1.461, allocations: 258.4 kB / 1.305 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/1.461, allocations: 76.56 kB / 1.305 GB, free: 12.64 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.461, allocations: 0 / 1.305 GB, free: 12.64 MB / 1.014 GB Notification: Performance of Templates: time 0.03996/1.501, allocations: 20.97 MB / 1.325 GB, free: 8.363 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=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