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.001646/0.001646, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001627/0.001627, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.183/3.183, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.793e-06/1.793e-06, allocations: 0 / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.363e-05/3.543e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2573/0.2573, allocations: 168.3 MB / 1.042 GB, free: 13.54 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.2706, allocations: 5.429 MB / 1.047 GB, free: 8.098 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.2725, allocations: 51.56 kB / 1.047 GB, free: 8.047 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.2747, allocations: 0.555 MB / 1.048 GB, free: 7.488 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.281, allocations: 1.725 MB / 1.05 GB, free: 5.754 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.2852, allocations: 1.258 MB / 1.051 GB, free: 4.492 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004703/0.2899, allocations: 2.623 MB / 1.053 GB, free: 1.859 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.2917, allocations: 0.7633 MB / 1.054 GB, free: 1.074 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4924/0.784, allocations: 1.571 MB / 1.056 GB, free: 48.31 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.7861, allocations: 0.8151 MB / 1.056 GB, free: 48.31 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.7863, allocations: 106.8 kB / 1.057 GB, free: 48.31 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.7891, allocations: 1.296 MB / 1.058 GB, free: 48.31 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.7897, allocations: 0.5393 MB / 1.058 GB, free: 48.31 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006247/0.7903, allocations: 459.7 kB / 1.059 GB, free: 48.31 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.793, allocations: 2.241 MB / 1.061 GB, free: 48.29 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.793, allocations: 4.469 kB / 1.061 GB, free: 48.29 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.293e-06/0.793, allocations: 0 / 1.061 GB, free: 48.29 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.793, allocations: 0 / 1.061 GB, free: 48.29 MB / 1.01 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.00226/0.7953, allocations: 1.458 MB / 1.062 GB, free: 47.55 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7953, allocations: 17.72 kB / 1.062 GB, free: 47.55 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.7985, allocations: 0.5708 MB / 1.063 GB, free: 47.46 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.7999, allocations: 0.829 MB / 1.064 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.7999, allocations: 64.19 kB / 1.064 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.8001, allocations: 94.5 kB / 1.064 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.8021, allocations: 1.55 MB / 1.065 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.8022, allocations: 0 / 1.065 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/0.8022, allocations: 42.59 kB / 1.065 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.8023, allocations: 34.34 kB / 1.066 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.8043, allocations: 1.06 MB / 1.067 GB, free: 46.62 MB / 1.01 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.005871/0.8102, allocations: 3.168 MB / 1.07 GB, free: 45.76 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.8119, allocations: 0.7249 MB / 1.07 GB, free: 45.74 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008088/0.8127, allocations: 383.7 kB / 1.071 GB, free: 45.73 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.8129, allocations: 28.91 kB / 1.071 GB, free: 45.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.8129, allocations: 46.47 kB / 1.071 GB, free: 45.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.8129, allocations: 3.094 kB / 1.071 GB, free: 45.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.005552/0.8185, allocations: 2.117 MB / 1.073 GB, free: 45.31 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.8185, allocations: 58 kB / 1.073 GB, free: 45.25 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/0.8194, allocations: 0.6648 MB / 1.074 GB, free: 45.11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.604e-05/0.8195, allocations: 38.61 kB / 1.074 GB, free: 45.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.8198, allocations: 0.4988 MB / 1.074 GB, free: 44.82 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.8199, allocations: 174.7 kB / 1.074 GB, free: 44.71 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.8201, allocations: 121.8 kB / 1.074 GB, free: 44.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.8202, allocations: 384.8 kB / 1.075 GB, free: 44.37 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008644/0.8211, allocations: 367.5 kB / 1.075 GB, free: 44.37 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000906/0.822, allocations: 0.5564 MB / 1.076 GB, free: 44.17 MB / 1.01 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.005487/0.8275, allocations: 2.183 MB / 1.078 GB, free: 44.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8275, allocations: 0.75 kB / 1.078 GB, free: 44.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002136/0.8296, allocations: 0.9932 MB / 1.079 GB, free: 43.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.8296, allocations: 8.875 kB / 1.079 GB, free: 43.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8297, allocations: 3.828 kB / 1.079 GB, free: 43.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.8297, allocations: 11.11 kB / 1.079 GB, free: 43.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/0.8306, allocations: 188.6 kB / 1.079 GB, free: 43.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.8306, allocations: 6.688 kB / 1.079 GB, free: 43.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.8316, allocations: 66.7 kB / 1.079 GB, free: 43.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.8317, allocations: 27.58 kB / 1.079 GB, free: 43.94 MB / 1.01 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.0005224/0.8322, allocations: 319.4 kB / 1.079 GB, free: 43.82 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.8325, allocations: 92.81 kB / 1.079 GB, free: 43.78 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.8327, allocations: 87.73 kB / 1.08 GB, free: 43.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.8327, allocations: 5.219 kB / 1.08 GB, free: 43.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.8327, allocations: 0.6875 kB / 1.08 GB, free: 43.77 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001773/0.8345, allocations: 1.023 MB / 1.081 GB, free: 43.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.8388, allocations: 1.885 MB / 1.082 GB, free: 42.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.8389, allocations: 2.844 kB / 1.082 GB, free: 42.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.8397, allocations: 167.9 kB / 1.083 GB, free: 42.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.8397, allocations: 6.125 kB / 1.083 GB, free: 42.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.8398, allocations: 15.72 kB / 1.083 GB, free: 42.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.8398, allocations: 9.359 kB / 1.083 GB, free: 42.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8398, allocations: 7.219 kB / 1.083 GB, free: 42.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.8429, allocations: 1.409 MB / 1.084 GB, free: 42.68 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.8434, allocations: 160.4 kB / 1.084 GB, free: 42.64 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.8436, allocations: 14.17 kB / 1.084 GB, free: 42.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/0.8446, allocations: 74.97 kB / 1.084 GB, free: 42.63 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.8447, allocations: 41.94 kB / 1.084 GB, free: 42.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.8448, allocations: 29.31 kB / 1.084 GB, free: 42.63 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007213/0.8455, allocations: 465 kB / 1.085 GB, free: 42.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8455, allocations: 0.9062 kB / 1.085 GB, free: 42.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001267/0.8468, allocations: 266.4 kB / 1.085 GB, free: 42.53 MB / 1.01 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.0004626/0.8472, allocations: 201.5 kB / 1.085 GB, free: 42.44 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.8493, allocations: 0.7917 MB / 1.086 GB, free: 42.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.8493, allocations: 2.406 kB / 1.086 GB, free: 42.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/0.8502, allocations: 382.3 kB / 1.086 GB, free: 42.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.8527, allocations: 472.2 kB / 1.087 GB, free: 42.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.8577, allocations: 2.083 MB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.8584, allocations: 0.5157 MB / 1.089 GB, free: 41.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001032/0.8595, allocations: 233.1 kB / 1.089 GB, free: 41.42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.8598, allocations: 68.8 kB / 1.09 GB, free: 41.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.203e-06/0.8598, allocations: 0 / 1.09 GB, free: 41.41 MB / 1.01 GB Notification: Performance of Templates: time 0.03438/0.8942, allocations: 18.24 MB / 1.107 GB, free: 39.54 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 -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: 9.53973484702874]