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.001666/0.001666, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00205/0.00205, allocations: 213.6 kB / 22.99 MB, free: 4.957 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: 7.793 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.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.002052/0.002052, allocations: 66.23 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2899, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2041/0.494, allocations: 168.6 MB / 1.492 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009645/0.5037, allocations: 5.462 MB / 1.497 GB, free: 2.309 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.5045, allocations: 51.56 kB / 1.497 GB, free: 2.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.506, allocations: 0.5552 MB / 1.498 GB, free: 1.699 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.5098, allocations: 1.704 MB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.5128, allocations: 1.241 MB / 1.501 GB, free: 14.75 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.5159, allocations: 2.625 MB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009729/0.5169, allocations: 0.6838 MB / 1.504 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.5191, allocations: 1.281 MB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.5208, allocations: 0.8607 MB / 1.506 GB, free: 9.285 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.521, allocations: 96 kB / 1.506 GB, free: 9.191 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.5234, allocations: 1.286 MB / 1.507 GB, free: 7.902 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.5239, allocations: 418.7 kB / 1.508 GB, free: 7.492 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.5245, allocations: 498 kB / 1.508 GB, free: 7.004 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.5271, allocations: 1.997 MB / 1.51 GB, free: 5 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5271, allocations: 0 / 1.51 GB, free: 5 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5271, allocations: 0 / 1.51 GB, free: 5 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.5272, allocations: 0 / 1.51 GB, free: 5 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.002483/0.5296, allocations: 1.391 MB / 1.511 GB, free: 3.574 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5297, allocations: 8.031 kB / 1.511 GB, free: 3.566 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.5325, allocations: 422.9 kB / 1.512 GB, free: 3.152 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.5342, allocations: 0.7362 MB / 1.512 GB, free: 2.383 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.5343, allocations: 58 kB / 1.513 GB, free: 2.328 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.5344, allocations: 72 kB / 1.513 GB, free: 2.258 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.5366, allocations: 1.371 MB / 1.514 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.5366, allocations: 0 / 1.514 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.64e-05/0.5367, allocations: 35.98 kB / 1.514 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.5368, allocations: 26 kB / 1.514 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.5389, allocations: 0.8666 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.005933/0.5448, allocations: 2.621 MB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.5465, allocations: 0.5897 MB / 1.518 GB, free: 12.56 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/0.5473, allocations: 317.2 kB / 1.518 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.5474, allocations: 24.31 kB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.5475, allocations: 43.22 kB / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.5475, allocations: 0 / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.008519/0.556, allocations: 2.247 MB / 1.521 GB, free: 9.887 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.556, allocations: 55.41 kB / 1.521 GB, free: 9.82 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.5568, allocations: 0.633 MB / 1.521 GB, free: 9.18 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.5569, allocations: 33.7 kB / 1.521 GB, free: 9.141 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.5573, allocations: 460.1 kB / 1.522 GB, free: 8.688 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.5574, allocations: 154.7 kB / 1.522 GB, free: 8.535 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.5577, allocations: 102.3 kB / 1.522 GB, free: 8.43 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.5579, allocations: 382.8 kB / 1.522 GB, free: 8.047 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/0.5587, allocations: 301.1 kB / 1.523 GB, free: 7.754 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.5596, allocations: 460.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.00572/0.5654, allocations: 1.795 MB / 1.525 GB, free: 5.422 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5654, allocations: 0 / 1.525 GB, free: 5.422 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003456/0.5688, allocations: 1.027 MB / 1.526 GB, free: 4.383 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5688, allocations: 4 kB / 1.526 GB, free: 4.379 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5688, allocations: 4 kB / 1.526 GB, free: 4.375 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.5695, allocations: 192.8 kB / 1.526 GB, free: 4.184 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.5703, allocations: 147.8 kB / 1.526 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.5745, allocations: 2.085 MB / 1.528 GB, free: 1.859 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.5753, allocations: 47.95 kB / 1.528 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.5754, allocations: 23.98 kB / 1.528 GB, free: 1.789 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.0004539/0.5759, allocations: 281.6 kB / 1.529 GB, free: 1.504 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.576, allocations: 75.53 kB / 1.529 GB, free: 1.43 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.5762, allocations: 82.78 kB / 1.529 GB, free: 1.34 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5762, allocations: 4 kB / 1.529 GB, free: 1.336 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5762, allocations: 0 / 1.529 GB, free: 1.336 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003077/0.5793, allocations: 0.9065 MB / 1.53 GB, free: 404 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.5848, allocations: 1.861 MB / 1.531 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5848, allocations: 4 kB / 1.531 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007186/0.5856, allocations: 128.2 kB / 1.531 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006031/0.5862, allocations: 184.7 kB / 1.532 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.5862, allocations: 16 kB / 1.532 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00394/0.5901, allocations: 2.045 MB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.5901, allocations: 7.938 kB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00417/0.5943, allocations: 1.397 MB / 1.535 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.5948, allocations: 151.5 kB / 1.535 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5949, allocations: 11.94 kB / 1.535 GB, free: 10.35 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008937/0.5958, allocations: 59.92 kB / 1.535 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.5958, allocations: 47.81 kB / 1.535 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.5959, allocations: 27.98 kB / 1.535 GB, free: 10.22 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005723/0.5965, allocations: 439 kB / 1.536 GB, free: 9.797 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5965, allocations: 0 / 1.536 GB, free: 9.797 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008952/0.5974, 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.0003668/0.5978, allocations: 193.5 kB / 1.536 GB, free: 9.336 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.5998, allocations: 0.7896 MB / 1.537 GB, free: 8.531 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5998, allocations: 0 / 1.537 GB, free: 8.531 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.6009, 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.001976/0.6028, allocations: 435.4 kB / 1.538 GB, free: 7.672 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.6074, allocations: 1.915 MB / 1.54 GB, free: 5.68 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.6079, allocations: 449.9 kB / 1.54 GB, free: 5.215 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005883/0.6085, allocations: 177.8 kB / 1.54 GB, free: 5.039 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.6087, allocations: 55.44 kB / 1.54 GB, free: 4.984 MB / 1.232 GB Notification: Performance of SimCode: time 4.31e-07/0.6087, allocations: 0 / 1.54 GB, free: 4.984 MB / 1.232 GB Notification: Performance of Templates: time 0.03414/0.6428, allocations: 19.52 MB / 1.559 GB, free: 1.875 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 gbode -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: 9.384785515008844]