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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001209/0.001209, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001393/0.001393, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003444, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6318, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1636/0.7955, allocations: 158.3 MB / 1.175 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.8056, allocations: 5.648 MB / 1.181 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.8073, allocations: 31.75 kB / 1.181 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.8094, allocations: 0.5638 MB / 1.181 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005206/0.8146, allocations: 1.663 MB / 1.183 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.8181, allocations: 1.188 MB / 1.184 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.8208, allocations: 1.489 MB / 1.186 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.8221, allocations: 0.7459 MB / 1.186 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.8237, allocations: 0.7631 MB / 1.187 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.8247, allocations: 0.5331 MB / 1.188 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.8249, allocations: 47.94 kB / 1.188 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.8271, allocations: 0.9009 MB / 1.189 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.8277, allocations: 407 kB / 1.189 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.8281, allocations: 249.1 kB / 1.189 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.8301, allocations: 1.489 MB / 1.191 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.8301, allocations: 0 / 1.191 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8301, allocations: 0 / 1.191 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.276e-05/0.8301, allocations: 0 / 1.191 GB, free: 2.711 MB / 0.9356 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.002525/0.8327, allocations: 1.285 MB / 1.192 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8327, allocations: 11.98 kB / 1.192 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.8359, allocations: 498.1 kB / 1.192 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.8377, allocations: 0.8011 MB / 1.193 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.8381, allocations: 137.9 kB / 1.193 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.8383, allocations: 84 kB / 1.193 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.8408, allocations: 1.19 MB / 1.195 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.8409, allocations: 0 / 1.195 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.841, allocations: 36 kB / 1.195 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.267e-05/0.841, allocations: 34 kB / 1.195 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.8437, allocations: 1.105 MB / 1.196 GB, free: 13.43 MB / 0.9512 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.007884/0.8516, allocations: 4.382 MB / 1.2 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.8537, allocations: 0.7878 MB / 1.201 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/0.8538, allocations: 15.98 kB / 1.201 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.8539, allocations: 42.56 kB / 1.201 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.8539, allocations: 0 / 1.201 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.006556/0.8604, allocations: 2.289 MB / 1.203 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.8605, allocations: 55.41 kB / 1.203 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.8618, allocations: 0.853 MB / 1.204 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.8619, allocations: 37.7 kB / 1.204 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.8623, allocations: 499.3 kB / 1.204 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.8625, allocations: 161.6 kB / 1.205 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.8626, allocations: 15.94 kB / 1.205 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8627, allocations: 333.9 kB / 1.205 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.8637, allocations: 389 kB / 1.205 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.8649, allocations: 0.5208 MB / 1.206 GB, free: 2.656 MB / 0.9512 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.004712/0.8696, allocations: 1.556 MB / 1.207 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8696, allocations: 0 / 1.207 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002445/0.8721, allocations: 1.029 MB / 1.208 GB, free: 48 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.8721, allocations: 8 kB / 1.208 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.8721, allocations: 4 kB / 1.208 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.8721, allocations: 7.938 kB / 1.208 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.8732, allocations: 207.8 kB / 1.209 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.8732, allocations: 15.98 kB / 1.209 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.8746, allocations: 118.7 kB / 1.209 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.8747, allocations: 24 kB / 1.209 GB, free: 15.67 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005989/0.8753, allocations: 313.5 kB / 1.209 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.8755, allocations: 90.97 kB / 1.209 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.8758, allocations: 100.8 kB / 1.209 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.8758, allocations: 15.94 kB / 1.209 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.8758, allocations: 0 / 1.209 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002103/0.8779, allocations: 1.069 MB / 1.21 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.8831, allocations: 2.206 MB / 1.212 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8831, allocations: 4 kB / 1.212 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/0.884, allocations: 192.1 kB / 1.213 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.884, allocations: 8 kB / 1.213 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.8841, allocations: 12 kB / 1.213 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.8841, allocations: 4 kB / 1.213 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8841, allocations: 7.938 kB / 1.213 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.8877, allocations: 1.634 MB / 1.214 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.8883, allocations: 255.9 kB / 1.214 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.8885, allocations: 15.98 kB / 1.214 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.8897, allocations: 114.3 kB / 1.215 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.8898, allocations: 35.91 kB / 1.215 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.8899, allocations: 27.92 kB / 1.215 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008428/0.8907, allocations: 0.6005 MB / 1.215 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8908, allocations: 0 / 1.215 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001083/0.8918, allocations: 268 kB / 1.216 GB, free: 8.379 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005673/0.8924, allocations: 213.2 kB / 1.216 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.8947, allocations: 0.8469 MB / 1.217 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8947, allocations: 0 / 1.217 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.8958, allocations: 412.3 kB / 1.217 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.8984, allocations: 0.5557 MB / 1.217 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.9039, allocations: 2.559 MB / 1.22 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.9049, allocations: 1.13 MB / 1.221 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001123/0.906, allocations: 267.8 kB / 1.221 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.9063, allocations: 75.42 kB / 1.221 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.9063, allocations: 0 / 1.221 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.03318/0.9395, allocations: 19.47 MB / 1.24 GB, free: 15.07 MB / 0.9981 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches