Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001369/0.001369, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001562/0.001562, allocations: 222.1 kB / 23 MB, free: 4.91 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.46/1.46, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.29/3.29, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_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_latest_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.00208/0.00208, allocations: 67.98 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.376, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2213/0.5973, allocations: 168.6 MB / 1.529 GB, free: 4.422 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.6082, allocations: 5.445 MB / 1.535 GB, free: 14.97 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.6096, allocations: 59.5 kB / 1.535 GB, free: 14.91 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.6115, allocations: 0.5553 MB / 1.535 GB, free: 14.35 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.6162, allocations: 1.696 MB / 1.537 GB, free: 12.65 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003287/0.6195, allocations: 1.238 MB / 1.538 GB, free: 11.42 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003546/0.6231, allocations: 2.604 MB / 1.541 GB, free: 8.801 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.6241, allocations: 0.6799 MB / 1.541 GB, free: 8.105 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.6265, allocations: 1.273 MB / 1.542 GB, free: 6.828 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.6283, allocations: 0.8235 MB / 1.543 GB, free: 6.008 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.6285, allocations: 99.98 kB / 1.543 GB, free: 5.91 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.631, allocations: 1.263 MB / 1.545 GB, free: 4.645 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.6315, allocations: 414.8 kB / 1.545 GB, free: 4.238 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.6321, allocations: 0.4901 MB / 1.545 GB, free: 3.746 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.6348, allocations: 1.997 MB / 1.547 GB, free: 1.742 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6348, allocations: 0 / 1.547 GB, free: 1.742 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6348, allocations: 0 / 1.547 GB, free: 1.742 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.6348, allocations: 0 / 1.547 GB, free: 1.742 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002455/0.6373, allocations: 1.395 MB / 1.549 GB, free: 320 kB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.6373, allocations: 12.03 kB / 1.549 GB, free: 308 kB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.6399, allocations: 410.9 kB / 1.549 GB, free: 15.9 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.6416, allocations: 0.7402 MB / 1.55 GB, free: 15.13 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.6416, allocations: 54 kB / 1.55 GB, free: 15.08 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.6418, allocations: 79.94 kB / 1.55 GB, free: 15 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.644, allocations: 1.359 MB / 1.551 GB, free: 13.53 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.644, allocations: 0 / 1.551 GB, free: 13.53 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.6441, allocations: 32 kB / 1.551 GB, free: 13.5 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.6441, allocations: 26 kB / 1.551 GB, free: 13.47 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.6462, allocations: 0.8743 MB / 1.552 GB, free: 12.6 MB / 1.248 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.005805/0.652, allocations: 2.624 MB / 1.555 GB, free: 9.914 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.6537, allocations: 0.5891 MB / 1.555 GB, free: 9.316 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.6545, allocations: 317.3 kB / 1.556 GB, free: 9.004 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.6546, allocations: 24.31 kB / 1.556 GB, free: 8.98 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.6546, allocations: 43.16 kB / 1.556 GB, free: 8.93 MB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.6546, allocations: 3.938 kB / 1.556 GB, free: 8.926 MB / 1.248 GB Notification: Performance of matching and sorting (n=41): time 0.008068/0.6627, allocations: 2.238 MB / 1.558 GB, free: 6.648 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.6628, allocations: 55.41 kB / 1.558 GB, free: 6.582 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.6636, allocations: 0.633 MB / 1.559 GB, free: 5.938 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.6637, allocations: 37.7 kB / 1.559 GB, free: 5.895 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.664, allocations: 460.1 kB / 1.559 GB, free: 5.441 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.6642, allocations: 150.7 kB / 1.559 GB, free: 5.293 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.6644, allocations: 110.2 kB / 1.559 GB, free: 5.18 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.6646, allocations: 374.8 kB / 1.56 GB, free: 4.805 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/0.6654, allocations: 309 kB / 1.56 GB, free: 4.504 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/0.6663, allocations: 464.5 kB / 1.56 GB, free: 4 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.005445/0.6718, allocations: 1.799 MB / 1.562 GB, free: 2.16 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6718, allocations: 0 / 1.562 GB, free: 2.16 MB / 1.248 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003216/0.675, allocations: 1.023 MB / 1.563 GB, free: 1.129 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.675, allocations: 8 kB / 1.563 GB, free: 1.121 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.675, allocations: 0 / 1.563 GB, free: 1.121 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.6756, allocations: 192.8 kB / 1.563 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.6763, allocations: 143.8 kB / 1.564 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.6805, allocations: 2.074 MB / 1.566 GB, free: 14.62 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.6814, allocations: 55.94 kB / 1.566 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.6814, allocations: 20 kB / 1.566 GB, free: 14.54 MB / 1.264 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.0004765/0.6819, allocations: 282.2 kB / 1.566 GB, free: 14.26 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.6821, allocations: 79.53 kB / 1.566 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.6823, allocations: 82.78 kB / 1.566 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6823, allocations: 8.188 kB / 1.566 GB, free: 14.08 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.6823, allocations: 7.984 kB / 1.566 GB, free: 14.07 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002902/0.6852, allocations: 0.8869 MB / 1.567 GB, free: 13.15 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.6905, allocations: 1.864 MB / 1.569 GB, free: 11.21 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.6905, allocations: 7.984 kB / 1.569 GB, free: 11.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.6911, allocations: 120.1 kB / 1.569 GB, free: 11.08 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005778/0.6917, allocations: 196.6 kB / 1.569 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.6918, allocations: 8 kB / 1.569 GB, free: 10.88 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/0.6956, allocations: 2.042 MB / 1.571 GB, free: 8.738 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6956, allocations: 4 kB / 1.571 GB, free: 8.734 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/0.6996, allocations: 1.406 MB / 1.572 GB, free: 7.266 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.7, allocations: 151.4 kB / 1.573 GB, free: 7.117 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.7001, allocations: 8 kB / 1.573 GB, free: 7.109 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008088/0.7009, allocations: 60 kB / 1.573 GB, free: 7.051 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.701, allocations: 43.81 kB / 1.573 GB, free: 7.008 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.7011, allocations: 27.98 kB / 1.573 GB, free: 6.98 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005757/0.7016, allocations: 439 kB / 1.573 GB, free: 6.559 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.7016, allocations: 0 / 1.573 GB, free: 6.559 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000876/0.7025, allocations: 271.9 kB / 1.573 GB, free: 6.293 MB / 1.264 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.0003661/0.7029, allocations: 187.6 kB / 1.574 GB, free: 6.102 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002089/0.705, allocations: 0.782 MB / 1.574 GB, free: 5.305 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.705, allocations: 0 / 1.574 GB, free: 5.305 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009952/0.706, allocations: 455.5 kB / 1.575 GB, free: 4.848 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.7079, allocations: 427.3 kB / 1.575 GB, free: 4.438 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.7125, allocations: 1.973 MB / 1.577 GB, free: 2.383 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.713, allocations: 453.9 kB / 1.578 GB, free: 1.914 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.7132, allocations: 59.42 kB / 1.578 GB, free: 1.859 MB / 1.264 GB Notification: Performance of SimCode: time 8.62e-07/0.7132, allocations: 0 / 1.578 GB, free: 1.859 MB / 1.264 GB Notification: Performance of Templates: time 0.02531/0.7385, allocations: 17.73 MB / 1.595 GB, free: 232 kB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.55685431882739]