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.001494/0.001494, allocations: 108.6 kB / 15.73 MB, free: 76 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.001906/0.001906, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.629/2.629, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3318, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 1.027/1.359, allocations: 190.5 MB / 1.353 GB, free: 2.754 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0136/1.373, allocations: 5.71 MB / 1.358 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/1.376, allocations: 41 kB / 1.358 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/1.379, allocations: 0.5877 MB / 1.359 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/1.384, allocations: 1.671 MB / 1.36 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/1.388, allocations: 1.233 MB / 1.362 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004289/1.392, allocations: 2.555 MB / 1.364 GB, free: 11.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/1.394, allocations: 1.04 MB / 1.365 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/1.396, allocations: 1.085 MB / 1.366 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/1.399, allocations: 0.8464 MB / 1.367 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/1.399, allocations: 112.2 kB / 1.367 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003884/1.403, allocations: 1.561 MB / 1.369 GB, free: 9.527 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007401/1.404, allocations: 0.4916 MB / 1.369 GB, free: 9.199 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/1.405, allocations: 0.6463 MB / 1.37 GB, free: 8.781 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00418/1.409, allocations: 2.18 MB / 1.372 GB, free: 7.383 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.409, allocations: 2.688 kB / 1.372 GB, free: 7.383 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/1.409, allocations: 4 kB / 1.372 GB, free: 7.379 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.773e-05/1.409, allocations: 0 / 1.372 GB, free: 7.379 MB / 1.045 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.002833/1.412, allocations: 1.553 MB / 1.373 GB, free: 6.191 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.412, allocations: 9.656 kB / 1.373 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/1.415, allocations: 476 kB / 1.374 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/1.417, allocations: 0.8606 MB / 1.375 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/1.417, allocations: 70.2 kB / 1.375 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/1.417, allocations: 88.11 kB / 1.375 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/1.419, allocations: 1.176 MB / 1.376 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.419, allocations: 7.938 kB / 1.376 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/1.419, allocations: 33.38 kB / 1.376 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/1.419, allocations: 40.58 kB / 1.376 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/1.422, allocations: 1.064 MB / 1.377 GB, free: 4.027 MB / 1.045 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.007122/1.429, allocations: 4.312 MB / 1.381 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/1.431, allocations: 0.7445 MB / 1.382 GB, free: 216 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009273/1.432, allocations: 403.1 kB / 1.383 GB, free: 16 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.432, allocations: 107.6 kB / 1.383 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.432, allocations: 49.19 kB / 1.383 GB, free: 15.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/1.432, allocations: 3.938 kB / 1.383 GB, free: 15.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.005853/1.438, allocations: 2.193 MB / 1.385 GB, free: 14.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/1.438, allocations: 64.16 kB / 1.385 GB, free: 14.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.439, allocations: 0.8613 MB / 1.386 GB, free: 14.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/1.439, allocations: 38.77 kB / 1.386 GB, free: 14.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/1.439, allocations: 0.4928 MB / 1.386 GB, free: 13.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/1.44, allocations: 165.5 kB / 1.386 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/1.44, allocations: 122.5 kB / 1.387 GB, free: 13.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.44, allocations: 333.8 kB / 1.387 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000893/1.441, allocations: 371.8 kB / 1.387 GB, free: 12.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009897/1.442, allocations: 0.4953 MB / 1.388 GB, free: 12.51 MB / 1.061 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.006035/1.448, allocations: 2.261 MB / 1.39 GB, free: 11.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.448, allocations: 0 / 1.39 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002465/1.45, allocations: 0.9954 MB / 1.391 GB, free: 10.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.45, allocations: 10.67 kB / 1.391 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.45, allocations: 5.562 kB / 1.391 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.45, allocations: 4.719 kB / 1.391 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/1.451, allocations: 188.1 kB / 1.391 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/1.451, allocations: 15.39 kB / 1.391 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.453, allocations: 63.12 kB / 1.391 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/1.453, allocations: 25.25 kB / 1.391 GB, free: 10.69 MB / 1.061 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.0006619/1.453, allocations: 322.6 kB / 1.391 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/1.453, allocations: 99.36 kB / 1.392 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/1.454, allocations: 101.4 kB / 1.392 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.454, allocations: 5.344 kB / 1.392 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/1.454, allocations: 3.938 kB / 1.392 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/1.456, allocations: 1.02 MB / 1.393 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/1.46, allocations: 2.143 MB / 1.395 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.46, allocations: 2.094 kB / 1.395 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008179/1.461, allocations: 167.5 kB / 1.395 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.461, allocations: 4.469 kB / 1.395 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/1.461, allocations: 23.77 kB / 1.395 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/1.461, allocations: 9.188 kB / 1.395 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.461, allocations: 4.281 kB / 1.395 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/1.464, allocations: 1.417 MB / 1.396 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/1.465, allocations: 259 kB / 1.397 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1.465, allocations: 17.08 kB / 1.397 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/1.466, allocations: 69.84 kB / 1.397 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/1.466, allocations: 41.48 kB / 1.397 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/1.466, allocations: 29.66 kB / 1.397 GB, free: 6.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008518/1.467, allocations: 0.6019 MB / 1.397 GB, free: 6.598 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.467, allocations: 0 / 1.397 GB, free: 6.598 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00105/1.468, allocations: 275.2 kB / 1.398 GB, free: 6.566 MB / 1.061 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.000549/1.469, allocations: 219.2 kB / 1.398 GB, free: 6.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002109/1.471, allocations: 0.8137 MB / 1.399 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.471, allocations: 2.219 kB / 1.399 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009665/1.472, allocations: 394 kB / 1.399 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.475, allocations: 0.5822 MB / 1.4 GB, free: 5.297 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/1.48, allocations: 2.188 MB / 1.402 GB, free: 3.031 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/1.48, allocations: 1.114 MB / 1.403 GB, free: 1.891 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009251/1.481, allocations: 259.8 kB / 1.403 GB, free: 1.633 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/1.482, allocations: 79.41 kB / 1.403 GB, free: 1.555 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.482, allocations: 3.938 kB / 1.403 GB, free: 1.551 MB / 1.061 GB Notification: Performance of Templates: time 0.06159/1.543, allocations: 21.09 MB / 1.424 GB, free: 12.8 MB / 1.092 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=480 -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