Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001309/0.001309, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001474/0.001474, allocations: 209.6 kB / 22.99 MB, free: 4.984 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.36/3.36, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_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_12_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.002076/0.002076, allocations: 67.23 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4258, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2457/0.6715, allocations: 168.6 MB / 1.492 GB, free: 7.773 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.6858, allocations: 5.449 MB / 1.497 GB, free: 2.312 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.6879, allocations: 55.56 kB / 1.497 GB, free: 2.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.6899, allocations: 0.5552 MB / 1.498 GB, free: 1.699 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.6953, allocations: 1.704 MB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.6992, allocations: 1.249 MB / 1.501 GB, free: 14.75 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004696/0.7039, allocations: 2.619 MB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.7054, allocations: 0.6877 MB / 1.504 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.7087, allocations: 1.285 MB / 1.505 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.7111, allocations: 0.8553 MB / 1.506 GB, free: 9.281 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.7114, allocations: 96 kB / 1.506 GB, free: 9.188 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.7148, allocations: 1.286 MB / 1.507 GB, free: 7.898 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006015/0.7154, allocations: 418.7 kB / 1.508 GB, free: 7.488 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008099/0.7162, allocations: 0.4901 MB / 1.508 GB, free: 6.996 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.7202, allocations: 1.997 MB / 1.51 GB, free: 4.992 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7202, allocations: 0 / 1.51 GB, free: 4.992 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7202, allocations: 0 / 1.51 GB, free: 4.992 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.7203, allocations: 0 / 1.51 GB, free: 4.992 MB / 1.201 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.002963/0.7232, allocations: 1.391 MB / 1.511 GB, free: 3.566 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.7233, allocations: 12.03 kB / 1.511 GB, free: 3.555 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.7261, allocations: 414.9 kB / 1.512 GB, free: 3.148 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.7279, allocations: 0.7363 MB / 1.512 GB, free: 2.379 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.728, allocations: 54 kB / 1.513 GB, free: 2.328 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.7281, allocations: 76 kB / 1.513 GB, free: 2.254 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.7307, allocations: 1.363 MB / 1.514 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.7307, allocations: 3.938 kB / 1.514 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.91e-05/0.7308, allocations: 35.94 kB / 1.514 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.7309, allocations: 26 kB / 1.514 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.733, allocations: 0.8743 MB / 1.515 GB, free: 15.84 MB / 1.217 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.006935/0.74, allocations: 2.613 MB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.7417, allocations: 0.5936 MB / 1.518 GB, free: 12.56 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008486/0.7426, allocations: 318.2 kB / 1.518 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.7428, allocations: 20.31 kB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.7429, allocations: 43.22 kB / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 3.977e-06/0.7429, allocations: 0 / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.009342/0.7522, allocations: 2.24 MB / 1.521 GB, free: 9.895 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.7523, allocations: 55.41 kB / 1.521 GB, free: 9.828 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.7534, allocations: 0.633 MB / 1.521 GB, free: 9.188 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.7535, allocations: 41.64 kB / 1.521 GB, free: 9.141 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.7539, allocations: 464.1 kB / 1.522 GB, free: 8.684 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.7541, allocations: 150.7 kB / 1.522 GB, free: 8.535 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.7543, allocations: 106.3 kB / 1.522 GB, free: 8.426 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.7546, allocations: 374.8 kB / 1.522 GB, free: 8.051 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/0.7553, allocations: 301.1 kB / 1.523 GB, free: 7.758 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.7562, allocations: 464.5 kB / 1.523 GB, free: 7.254 MB / 1.217 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.005374/0.7616, allocations: 1.795 MB / 1.525 GB, free: 5.422 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7616, allocations: 0 / 1.525 GB, free: 5.422 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003338/0.765, allocations: 1.031 MB / 1.526 GB, free: 4.379 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.765, allocations: 8 kB / 1.526 GB, free: 4.371 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.765, allocations: 0 / 1.526 GB, free: 4.371 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.7656, allocations: 192.8 kB / 1.526 GB, free: 4.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.7663, allocations: 143.8 kB / 1.526 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.7704, allocations: 2.078 MB / 1.528 GB, free: 1.863 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.7715, allocations: 52 kB / 1.528 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.7715, allocations: 20 kB / 1.528 GB, free: 1.793 MB / 1.217 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.0005875/0.7721, allocations: 277.6 kB / 1.528 GB, free: 1.512 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.7723, allocations: 75.53 kB / 1.529 GB, free: 1.438 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.7725, allocations: 90.77 kB / 1.529 GB, free: 1.34 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.7725, allocations: 8.188 kB / 1.529 GB, free: 1.332 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7725, allocations: 7.938 kB / 1.529 GB, free: 1.324 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002942/0.7754, allocations: 0.8949 MB / 1.53 GB, free: 404 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/0.7808, allocations: 1.869 MB / 1.531 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7808, allocations: 4 kB / 1.531 GB, free: 14.44 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.7815, allocations: 119.8 kB / 1.531 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.7821, allocations: 192.8 kB / 1.532 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.7821, allocations: 11.98 kB / 1.532 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.7858, allocations: 2.049 MB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.7858, allocations: 7.938 kB / 1.534 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/0.7898, allocations: 1.397 MB / 1.535 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.7903, allocations: 147.5 kB / 1.535 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.7904, allocations: 8 kB / 1.535 GB, free: 10.35 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.7912, allocations: 63.94 kB / 1.535 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7914, allocations: 43.81 kB / 1.535 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.7914, allocations: 27.98 kB / 1.535 GB, free: 10.22 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006117/0.792, allocations: 439 kB / 1.536 GB, free: 9.797 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.792, allocations: 0 / 1.536 GB, free: 9.797 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000981/0.793, allocations: 271.9 kB / 1.536 GB, free: 9.531 MB / 1.232 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.0003991/0.7934, allocations: 191 kB / 1.536 GB, free: 9.336 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.7955, allocations: 0.7858 MB / 1.537 GB, free: 8.535 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7955, allocations: 4 kB / 1.537 GB, free: 8.531 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009387/0.7964, allocations: 439.6 kB / 1.537 GB, free: 8.09 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.7983, allocations: 431.9 kB / 1.538 GB, free: 7.676 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.8031, allocations: 1.922 MB / 1.54 GB, free: 5.684 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.8036, allocations: 457.9 kB / 1.54 GB, free: 5.211 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008071/0.8044, allocations: 181.8 kB / 1.54 GB, free: 5.031 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.8046, allocations: 63.42 kB / 1.54 GB, free: 4.969 MB / 1.232 GB Notification: Performance of SimCode: time 9.72e-07/0.8046, allocations: 0 / 1.54 GB, free: 4.969 MB / 1.232 GB Notification: Performance of Templates: time 0.03453/0.8392, allocations: 19.5 MB / 1.559 GB, free: 1.871 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.70918544199958]