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.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.0009235/0.0009235, allocations: 92.7 kB / 20.21 MB, free: 4.215 MB / 18.57 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.0008935/0.0008935, allocations: 165.3 kB / 23.52 MB, free: 0.9023 MB / 18.57 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 0.9969/0.9969, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.944/1.944, allocations: 393.3 MB / 0.6383 GB, free: 8.277 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.839e-06, allocations: 3.984 kB / 0.8312 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.674e-05/5.158e-05, allocations: 5.047 kB / 0.8313 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1976/0.1977, allocations: 168.3 MB / 0.9956 GB, free: 1.906 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.009131/0.2068, allocations: 5.419 MB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.2085, allocations: 51.56 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.2103, allocations: 0.5628 MB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.2147, allocations: 1.725 MB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.2179, allocations: 1.246 MB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003533/0.2215, allocations: 2.623 MB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.2227, allocations: 0.771 MB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.2262, allocations: 1.574 MB / 1.009 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.228, allocations: 0.8067 MB / 1.01 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.2282, allocations: 108 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.2308, allocations: 1.297 MB / 1.011 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.2314, allocations: 0.5337 MB / 1.012 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.232, allocations: 470.9 kB / 1.012 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.2357, allocations: 2.236 MB / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2357, allocations: 0 / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2357, allocations: 0 / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.012e-05/0.2357, allocations: 0 / 1.015 GB, free: 14.43 MB / 0.9792 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.002526/0.2383, allocations: 1.469 MB / 1.016 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.2383, allocations: 12.02 kB / 1.016 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.2403, allocations: 0.5648 MB / 1.017 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.2417, allocations: 0.8268 MB / 1.017 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.2417, allocations: 66 kB / 1.017 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.2419, allocations: 91.92 kB / 1.018 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.2438, allocations: 1.547 MB / 1.019 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.2439, allocations: 3.984 kB / 1.019 GB, free: 9.672 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.2439, allocations: 39.94 kB / 1.019 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.244, allocations: 34 kB / 1.019 GB, free: 9.598 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.2455, allocations: 1.062 MB / 1.02 GB, free: 8.535 MB / 0.9792 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.005005/0.2505, allocations: 3.169 MB / 1.023 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2516, allocations: 0.7324 MB / 1.024 GB, free: 4.543 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.2522, allocations: 380.6 kB / 1.024 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.2523, allocations: 35.97 kB / 1.024 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2523, allocations: 42.5 kB / 1.024 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=43): time 3.327e-06/0.2523, allocations: 0 / 1.024 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.004006/0.2564, allocations: 2.115 MB / 1.026 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2564, allocations: 59.41 kB / 1.027 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/0.2571, allocations: 0.6605 MB / 1.027 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.2572, allocations: 37.7 kB / 1.027 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.2575, allocations: 0.5037 MB / 1.028 GB, free: 0.6484 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.2576, allocations: 174.5 kB / 1.028 GB, free: 488 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.2578, allocations: 122.2 kB / 1.028 GB, free: 356 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000483/0.2583, allocations: 382.7 kB / 1.028 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.2589, allocations: 369 kB / 1.029 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.2595, allocations: 0.5515 MB / 1.029 GB, free: 14.99 MB / 0.9948 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.003944/0.2635, allocations: 2.18 MB / 1.031 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2635, allocations: 0 / 1.031 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001432/0.2649, allocations: 0.9967 MB / 1.032 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.265, allocations: 4 kB / 1.032 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.265, allocations: 7.938 kB / 1.032 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/0.265, allocations: 8 kB / 1.032 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.2656, allocations: 195.8 kB / 1.033 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.2656, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.2661, allocations: 63.94 kB / 1.033 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.2662, allocations: 31.97 kB / 1.033 GB, free: 11.45 MB / 0.9948 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.0005416/0.2667, allocations: 313.5 kB / 1.033 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2669, allocations: 99.48 kB / 1.033 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.267, allocations: 87.12 kB / 1.033 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.267, allocations: 4 kB / 1.033 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.267, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001274/0.2683, allocations: 1.03 MB / 1.034 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.2714, allocations: 1.891 MB / 1.036 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2714, allocations: 8.062 kB / 1.036 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.2719, allocations: 163.8 kB / 1.036 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.2719, allocations: 4 kB / 1.036 GB, free: 7.676 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004581/0.2723, allocations: 19.98 kB / 1.036 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.2724, allocations: 4 kB / 1.036 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2724, allocations: 7.938 kB / 1.036 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.2742, allocations: 1.408 MB / 1.038 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.2745, allocations: 167.4 kB / 1.038 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.2746, allocations: 16 kB / 1.038 GB, free: 6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.2751, allocations: 63.92 kB / 1.038 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.2751, allocations: 47.81 kB / 1.038 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.2752, allocations: 31.97 kB / 1.038 GB, free: 5.859 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004568/0.2757, allocations: 455 kB / 1.038 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2757, allocations: 0 / 1.038 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008276/0.2765, allocations: 271.9 kB / 1.039 GB, free: 5.156 MB / 0.9948 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.0004372/0.2769, allocations: 189.9 kB / 1.039 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.2782, allocations: 0.7874 MB / 1.039 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.2783, allocations: 4.75 kB / 1.04 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.2788, allocations: 380.3 kB / 1.04 GB, free: 3.793 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.2801, allocations: 472.2 kB / 1.04 GB, free: 3.352 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.2833, allocations: 2.08 MB / 1.042 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.2837, allocations: 0.5114 MB / 1.043 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0006058/0.2843, allocations: 230.2 kB / 1.043 GB, free: 432 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.2848, allocations: 68.48 kB / 1.043 GB, free: 364 kB / 0.9948 GB Notification: Performance of SimCode: time 2.004e-06/0.2848, allocations: 4 kB / 1.043 GB, free: 360 kB / 0.9948 GB Notification: Performance of Templates: time 0.4702/0.7551, allocations: 18.22 MB / 1.061 GB, free: 269.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.590598514303565]