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.001311/0.001311, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001438/0.001438, allocations: 218.9 kB / 23.05 MB, free: 4.844 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.147/3.147, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.002009/0.002009, allocations: 69.61 kB / 1.155 GB, free: 24.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 176.1 MB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2122/0.5508, allocations: 168.6 MB / 1.492 GB, free: 7.578 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009683/0.5605, allocations: 5.454 MB / 1.497 GB, free: 2.109 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.5617, allocations: 59.5 kB / 1.497 GB, free: 2.051 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.5633, allocations: 0.5513 MB / 1.498 GB, free: 1.496 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.5675, allocations: 1.693 MB / 1.499 GB, free: 15.79 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.5708, allocations: 1.233 MB / 1.501 GB, free: 14.57 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.5743, allocations: 2.605 MB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.5755, allocations: 0.6761 MB / 1.504 GB, free: 11.27 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.578, allocations: 1.277 MB / 1.505 GB, free: 9.988 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.58, allocations: 0.8169 MB / 1.506 GB, free: 9.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.5802, allocations: 96 kB / 1.506 GB, free: 9.082 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.5828, allocations: 1.266 MB / 1.507 GB, free: 7.812 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004892/0.5833, allocations: 426.7 kB / 1.508 GB, free: 7.395 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000657/0.584, allocations: 497.9 kB / 1.508 GB, free: 6.906 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.5871, allocations: 1.997 MB / 1.51 GB, free: 4.902 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5871, allocations: 0 / 1.51 GB, free: 4.902 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5871, allocations: 4 kB / 1.51 GB, free: 4.898 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.5871, allocations: 0 / 1.51 GB, free: 4.898 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.00248/0.5896, allocations: 1.38 MB / 1.511 GB, free: 3.484 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5896, allocations: 11.97 kB / 1.511 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.5923, allocations: 422.9 kB / 1.512 GB, free: 3.059 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.5939, allocations: 0.7401 MB / 1.512 GB, free: 2.285 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.594, allocations: 54 kB / 1.513 GB, free: 2.234 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5941, allocations: 72 kB / 1.513 GB, free: 2.164 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.5963, allocations: 1.371 MB / 1.514 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.5963, allocations: 0 / 1.514 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.5964, allocations: 32 kB / 1.514 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.5965, allocations: 26 kB / 1.514 GB, free: 0.625 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.5985, allocations: 0.8743 MB / 1.515 GB, free: 15.75 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.005929/0.6044, allocations: 2.617 MB / 1.517 GB, free: 13.07 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.6061, allocations: 0.589 MB / 1.518 GB, free: 12.47 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/0.6068, allocations: 317.2 kB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.607, allocations: 24.31 kB / 1.518 GB, free: 12.13 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.607, allocations: 47.22 kB / 1.518 GB, free: 12.08 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 2.755e-06/0.607, allocations: 0 / 1.518 GB, free: 12.08 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.008263/0.6153, allocations: 2.236 MB / 1.521 GB, free: 9.801 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.6154, allocations: 63.39 kB / 1.521 GB, free: 9.727 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/0.6162, allocations: 0.6291 MB / 1.521 GB, free: 9.09 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.6163, allocations: 37.7 kB / 1.521 GB, free: 9.047 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.6167, allocations: 460.1 kB / 1.522 GB, free: 8.594 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.6168, allocations: 150.7 kB / 1.522 GB, free: 8.445 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.617, allocations: 102.3 kB / 1.522 GB, free: 8.34 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6172, allocations: 378.8 kB / 1.522 GB, free: 7.961 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/0.6181, allocations: 301.1 kB / 1.523 GB, free: 7.668 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/0.619, allocations: 468.4 kB / 1.523 GB, free: 7.16 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.005479/0.6245, allocations: 1.795 MB / 1.525 GB, free: 5.328 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6245, allocations: 0 / 1.525 GB, free: 5.328 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003335/0.6278, allocations: 1.027 MB / 1.526 GB, free: 4.289 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6279, allocations: 4 kB / 1.526 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6279, allocations: 8 kB / 1.526 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.6285, allocations: 192.8 kB / 1.526 GB, free: 4.086 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.6292, allocations: 143.8 kB / 1.526 GB, free: 3.945 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.6334, allocations: 2.089 MB / 1.528 GB, free: 1.758 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.6344, allocations: 43.95 kB / 1.528 GB, free: 1.715 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.6344, allocations: 24.17 kB / 1.528 GB, free: 1.691 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.0005009/0.6349, allocations: 285.6 kB / 1.528 GB, free: 1.402 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.6351, allocations: 83.45 kB / 1.529 GB, free: 1.32 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.6353, allocations: 82.78 kB / 1.529 GB, free: 1.23 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6353, allocations: 4 kB / 1.529 GB, free: 1.227 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6353, allocations: 4 kB / 1.529 GB, free: 1.223 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002943/0.6383, allocations: 0.8988 MB / 1.53 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/0.6436, allocations: 1.858 MB / 1.531 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6436, allocations: 4 kB / 1.531 GB, free: 14.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.6442, allocations: 128.2 kB / 1.531 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/0.6448, allocations: 180.7 kB / 1.532 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.6448, allocations: 12 kB / 1.532 GB, free: 14.03 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/0.6486, allocations: 2.057 MB / 1.534 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6486, allocations: 4 kB / 1.534 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/0.6526, allocations: 1.409 MB / 1.535 GB, free: 10.39 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.653, allocations: 143.5 kB / 1.535 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/0.6531, allocations: 12 kB / 1.535 GB, free: 10.24 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.654, allocations: 58.84 kB / 1.535 GB, free: 10.19 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.6541, allocations: 43.88 kB / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/0.6541, allocations: 27.98 kB / 1.535 GB, free: 10.12 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005817/0.6547, allocations: 443 kB / 1.536 GB, free: 9.691 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6547, allocations: 0 / 1.536 GB, free: 9.691 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009378/0.6557, allocations: 271.7 kB / 1.536 GB, free: 9.43 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.0003819/0.656, allocations: 182.5 kB / 1.536 GB, free: 9.246 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.6582, allocations: 0.7858 MB / 1.537 GB, free: 8.445 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.6582, allocations: 4.5 kB / 1.537 GB, free: 8.441 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009723/0.6591, allocations: 447 kB / 1.537 GB, free: 7.992 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.6612, allocations: 438.7 kB / 1.538 GB, free: 7.574 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.6662, allocations: 1.964 MB / 1.54 GB, free: 5.527 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.6667, allocations: 453.8 kB / 1.54 GB, free: 5.059 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.667, allocations: 63.42 kB / 1.54 GB, free: 4.996 MB / 1.232 GB Notification: Performance of SimCode: time 1.173e-06/0.667, allocations: 3.938 kB / 1.54 GB, free: 4.992 MB / 1.232 GB Notification: Performance of Templates: time 0.02702/0.694, allocations: 17.73 MB / 1.558 GB, free: 3.367 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 -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] "" 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.212958626216277]