Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001695/0.001695, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001814/0.001814, allocations: 216.4 kB / 23.01 MB, free: 4.602 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [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.002008/0.002008, allocations: 63.66 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2313/0.5463, allocations: 194.6 MB / 1.475 GB, free: 7.926 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.5568, allocations: 5.768 MB / 1.48 GB, free: 2.148 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.5583, allocations: 55.5 kB / 1.48 GB, free: 2.094 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.5601, allocations: 0.6136 MB / 1.481 GB, free: 1.477 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.5645, allocations: 1.723 MB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.568, allocations: 1.251 MB / 1.484 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004324/0.5723, allocations: 2.632 MB / 1.486 GB, free: 11.86 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.5736, allocations: 0.6721 MB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.5761, allocations: 1.113 MB / 1.488 GB, free: 10.06 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.5785, allocations: 0.8695 MB / 1.489 GB, free: 9.195 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.5787, allocations: 99.94 kB / 1.489 GB, free: 9.098 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.5822, allocations: 1.645 MB / 1.491 GB, free: 7.449 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005533/0.5828, allocations: 418.7 kB / 1.491 GB, free: 7.039 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000812/0.5836, allocations: 0.5872 MB / 1.492 GB, free: 6.449 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.5872, allocations: 2.028 MB / 1.494 GB, free: 4.414 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5872, allocations: 0 / 1.494 GB, free: 4.414 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5872, allocations: 0 / 1.494 GB, free: 4.414 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.5872, allocations: 0 / 1.494 GB, free: 4.414 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002597/0.5898, allocations: 1.391 MB / 1.495 GB, free: 2.988 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5899, allocations: 8.031 kB / 1.495 GB, free: 2.98 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.5925, allocations: 418.9 kB / 1.495 GB, free: 2.57 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.5942, allocations: 0.7363 MB / 1.496 GB, free: 1.809 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.5943, allocations: 61.94 kB / 1.496 GB, free: 1.75 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.5944, allocations: 75.98 kB / 1.496 GB, free: 1.676 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.5964, allocations: 0.9827 MB / 1.497 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.5964, allocations: 7.922 kB / 1.497 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.5965, allocations: 32 kB / 1.497 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/0.5965, allocations: 29.98 kB / 1.497 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5985, allocations: 0.8666 MB / 1.498 GB, free: 15.74 MB / 1.201 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.006625/0.6051, allocations: 3.444 MB / 1.501 GB, free: 12.11 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.6067, allocations: 0.5852 MB / 1.502 GB, free: 11.52 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007705/0.6075, allocations: 321.3 kB / 1.502 GB, free: 11.2 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.6076, allocations: 20.31 kB / 1.502 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.6077, allocations: 39.22 kB / 1.502 GB, free: 11.14 MB / 1.201 GB Notification: Performance of pre-optimization done (n=39): time 3.196e-06/0.6077, allocations: 7.938 kB / 1.502 GB, free: 11.13 MB / 1.201 GB Notification: Performance of matching and sorting (n=41): time 0.008334/0.616, allocations: 2.259 MB / 1.505 GB, free: 8.828 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.6161, allocations: 55.41 kB / 1.505 GB, free: 8.762 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.6173, allocations: 0.7941 MB / 1.505 GB, free: 7.957 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.6174, allocations: 37.7 kB / 1.506 GB, free: 7.914 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.6178, allocations: 460.5 kB / 1.506 GB, free: 7.457 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.618, allocations: 154.7 kB / 1.506 GB, free: 7.305 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.6182, allocations: 102.3 kB / 1.506 GB, free: 7.199 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6184, allocations: 326 kB / 1.507 GB, free: 6.875 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008246/0.6192, allocations: 297.1 kB / 1.507 GB, free: 6.582 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/0.6201, allocations: 413 kB / 1.507 GB, free: 6.145 MB / 1.201 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.005293/0.6254, allocations: 1.8 MB / 1.509 GB, free: 4.309 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6254, allocations: 0 / 1.509 GB, free: 4.309 MB / 1.201 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003398/0.6288, allocations: 1.043 MB / 1.51 GB, free: 3.258 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6288, allocations: 4 kB / 1.51 GB, free: 3.254 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.6288, allocations: 4 kB / 1.51 GB, free: 3.25 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.6294, allocations: 196.7 kB / 1.51 GB, free: 3.055 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.6301, allocations: 143.8 kB / 1.51 GB, free: 2.914 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.6344, allocations: 2.125 MB / 1.512 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.6355, allocations: 52.02 kB / 1.512 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.6355, allocations: 23.98 kB / 1.512 GB, free: 0.5977 MB / 1.201 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005368/0.6361, allocations: 279.4 kB / 1.513 GB, free: 324 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.6362, allocations: 95.38 kB / 1.513 GB, free: 228 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.6364, allocations: 96.23 kB / 1.513 GB, free: 132 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6364, allocations: 4 kB / 1.513 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6364, allocations: 0 / 1.513 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002861/0.6393, allocations: 0.8987 MB / 1.514 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.6448, allocations: 2.083 MB / 1.516 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6448, allocations: 0 / 1.516 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.6455, allocations: 127.8 kB / 1.516 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005894/0.6461, allocations: 189 kB / 1.516 GB, free: 12.7 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.6461, allocations: 16 kB / 1.516 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.65, allocations: 2.088 MB / 1.518 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.65, allocations: 4 kB / 1.518 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004142/0.6541, allocations: 1.417 MB / 1.52 GB, free: 9 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006043/0.6547, allocations: 167.3 kB / 1.52 GB, free: 8.836 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.6549, allocations: 8 kB / 1.52 GB, free: 8.828 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.6557, allocations: 60 kB / 1.52 GB, free: 8.77 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6558, allocations: 43.81 kB / 1.52 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.6558, allocations: 27.98 kB / 1.52 GB, free: 8.699 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008185/0.6567, allocations: 0.5576 MB / 1.52 GB, free: 8.145 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6567, allocations: 0 / 1.52 GB, free: 8.145 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009486/0.6576, allocations: 267.9 kB / 1.521 GB, free: 7.883 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/0.658, allocations: 204.1 kB / 1.521 GB, free: 7.68 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.6601, allocations: 0.7865 MB / 1.522 GB, free: 6.883 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6601, allocations: 0 / 1.522 GB, free: 6.883 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009916/0.6611, allocations: 447.5 kB / 1.522 GB, free: 6.434 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.6636, allocations: 0.5434 MB / 1.523 GB, free: 5.898 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.6685, allocations: 1.999 MB / 1.525 GB, free: 3.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/0.6693, allocations: 1.044 MB / 1.526 GB, free: 2.75 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.6696, allocations: 71.42 kB / 1.526 GB, free: 2.68 MB / 1.217 GB Notification: Performance of SimCode: time 1.493e-06/0.6696, allocations: 4 kB / 1.526 GB, free: 2.676 MB / 1.217 GB Notification: Performance of Templates: time 0.03019/0.6998, allocations: 19.09 MB / 1.544 GB, free: 15.73 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 14.890133891021833]