Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 106.9 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002707/0.002707, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.633/1.633, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.466/3.466, allocations: 0.4899 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 74.23 kB / 1.149 GB, free: 25.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.339, allocations: 176.1 MB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2293/0.5684, allocations: 194.1 MB / 1.511 GB, free: 15.9 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.5786, allocations: 5.753 MB / 1.516 GB, free: 10.14 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.5798, allocations: 51.56 kB / 1.517 GB, free: 10.09 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.5813, allocations: 0.5981 MB / 1.517 GB, free: 9.484 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.5854, allocations: 1.676 MB / 1.519 GB, free: 7.801 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.5886, allocations: 1.225 MB / 1.52 GB, free: 6.582 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.592, allocations: 2.554 MB / 1.522 GB, free: 4.023 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.5936, allocations: 0.86 MB / 1.523 GB, free: 3.145 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.5964, allocations: 1.265 MB / 1.525 GB, free: 1.875 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.5986, allocations: 0.9067 MB / 1.525 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.5988, allocations: 111.9 kB / 1.526 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.6018, allocations: 1.614 MB / 1.527 GB, free: 15.24 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005737/0.6024, allocations: 0.5025 MB / 1.528 GB, free: 14.74 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007652/0.6032, allocations: 0.6417 MB / 1.528 GB, free: 14.09 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.6062, allocations: 2.191 MB / 1.53 GB, free: 11.9 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6062, allocations: 0 / 1.53 GB, free: 11.9 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6062, allocations: 0 / 1.53 GB, free: 11.9 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.6063, allocations: 0 / 1.53 GB, free: 11.9 MB / 1.232 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.002672/0.6089, allocations: 1.552 MB / 1.532 GB, free: 10.29 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.609, allocations: 11.98 kB / 1.532 GB, free: 10.28 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.6123, allocations: 486.7 kB / 1.532 GB, free: 9.801 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.6139, allocations: 0.8676 MB / 1.533 GB, free: 8.891 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.614, allocations: 62 kB / 1.533 GB, free: 8.832 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.6142, allocations: 84 kB / 1.533 GB, free: 8.75 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.6166, allocations: 1.183 MB / 1.534 GB, free: 7.543 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.6166, allocations: 0 / 1.534 GB, free: 7.543 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6168, allocations: 36 kB / 1.535 GB, free: 7.508 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.6168, allocations: 34 kB / 1.535 GB, free: 7.477 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.6194, allocations: 1.066 MB / 1.536 GB, free: 6.406 MB / 1.232 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.007693/0.6271, allocations: 4.475 MB / 1.54 GB, free: 1.637 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.6294, allocations: 0.7247 MB / 1.541 GB, free: 0.9023 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.6304, allocations: 390.5 kB / 1.541 GB, free: 0.5195 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.6306, allocations: 105.1 kB / 1.541 GB, free: 408 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.6307, allocations: 42.5 kB / 1.541 GB, free: 356 kB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.6307, allocations: 0 / 1.541 GB, free: 356 kB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.006608/0.6373, allocations: 2.189 MB / 1.543 GB, free: 14.11 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.6373, allocations: 63.33 kB / 1.543 GB, free: 14.03 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.6386, allocations: 0.8608 MB / 1.544 GB, free: 13.16 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/0.6387, allocations: 37.7 kB / 1.544 GB, free: 13.12 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.6391, allocations: 0.4962 MB / 1.545 GB, free: 12.62 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.6393, allocations: 170.5 kB / 1.545 GB, free: 12.45 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.6396, allocations: 130.2 kB / 1.545 GB, free: 12.32 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.6397, allocations: 333.9 kB / 1.545 GB, free: 11.98 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.6408, allocations: 369 kB / 1.546 GB, free: 11.62 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.642, allocations: 0.4975 MB / 1.546 GB, free: 11.07 MB / 1.248 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.00705/0.6491, allocations: 2.271 MB / 1.548 GB, free: 8.734 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6491, allocations: 0 / 1.548 GB, free: 8.734 MB / 1.248 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00268/0.6518, allocations: 0.9864 MB / 1.549 GB, free: 7.738 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6518, allocations: 5.875 kB / 1.549 GB, free: 7.734 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6518, allocations: 8.062 kB / 1.549 GB, free: 7.727 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.6518, allocations: 12 kB / 1.549 GB, free: 7.715 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.6529, allocations: 199.7 kB / 1.55 GB, free: 7.52 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.6529, allocations: 4 kB / 1.55 GB, free: 7.516 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.654, allocations: 67.92 kB / 1.55 GB, free: 7.449 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.6541, allocations: 24 kB / 1.55 GB, free: 7.426 MB / 1.248 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.0005709/0.6547, allocations: 313.5 kB / 1.55 GB, free: 7.109 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.6549, allocations: 99.39 kB / 1.55 GB, free: 7.012 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.6552, allocations: 108.7 kB / 1.55 GB, free: 6.902 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6552, allocations: 7.938 kB / 1.55 GB, free: 6.895 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6552, allocations: 7.984 kB / 1.55 GB, free: 6.887 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/0.6575, allocations: 1.018 MB / 1.551 GB, free: 5.781 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005395/0.6629, allocations: 2.137 MB / 1.553 GB, free: 3.547 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6629, allocations: 4 kB / 1.553 GB, free: 3.543 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/0.6639, allocations: 167.8 kB / 1.553 GB, free: 3.379 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.6639, allocations: 4 kB / 1.553 GB, free: 3.375 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.664, allocations: 12 kB / 1.553 GB, free: 3.363 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/0.664, allocations: 7.984 kB / 1.553 GB, free: 3.355 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.664, allocations: 11.88 kB / 1.553 GB, free: 3.344 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.6675, allocations: 1.419 MB / 1.555 GB, free: 1.867 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/0.668, allocations: 256.5 kB / 1.555 GB, free: 1.598 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.6682, allocations: 15.98 kB / 1.555 GB, free: 1.582 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6692, allocations: 67.89 kB / 1.555 GB, free: 1.516 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6694, allocations: 43.83 kB / 1.555 GB, free: 1.473 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.6694, allocations: 35.98 kB / 1.555 GB, free: 1.438 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009228/0.6704, allocations: 0.6005 MB / 1.556 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6704, allocations: 0 / 1.556 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009672/0.6713, allocations: 267.9 kB / 1.556 GB, free: 0.5781 MB / 1.248 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.0004197/0.6717, allocations: 199.1 kB / 1.556 GB, free: 380 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002408/0.6742, allocations: 0.7876 MB / 1.557 GB, free: 15.58 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.6742, allocations: 4.75 kB / 1.557 GB, free: 15.58 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.6753, allocations: 380.2 kB / 1.557 GB, free: 15.21 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.6781, allocations: 0.5991 MB / 1.558 GB, free: 14.62 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.6837, allocations: 2.192 MB / 1.56 GB, free: 12.36 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000971/0.6847, allocations: 1.11 MB / 1.561 GB, free: 11.22 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00106/0.6858, allocations: 255.8 kB / 1.561 GB, free: 10.96 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.6861, allocations: 71.42 kB / 1.562 GB, free: 10.89 MB / 1.264 GB Notification: Performance of SimCode: time 1.172e-06/0.6861, allocations: 0 / 1.562 GB, free: 10.89 MB / 1.264 GB Notification: Performance of Templates: time 0.03941/0.7255, allocations: 21.34 MB / 1.582 GB, free: 5.867 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.385928752832115]