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.001491/0.001491, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001657/0.001657, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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 2.882/2.882, allocations: 0.49 GB / 0.7958 GB, free: 33.57 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.001864/0.001864, allocations: 68.67 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2896, allocations: 176.1 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2109/0.5005, allocations: 194.6 MB / 1.517 GB, free: 14.07 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009542/0.5101, allocations: 5.786 MB / 1.523 GB, free: 8.273 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.5115, allocations: 59.5 kB / 1.523 GB, free: 8.215 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.5131, allocations: 0.5981 MB / 1.524 GB, free: 7.613 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.5172, allocations: 1.723 MB / 1.525 GB, free: 5.883 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.5204, allocations: 1.264 MB / 1.526 GB, free: 4.625 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003801/0.5242, allocations: 2.624 MB / 1.529 GB, free: 1.992 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.5253, allocations: 0.6799 MB / 1.53 GB, free: 1.301 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.5278, allocations: 1.277 MB / 1.531 GB, free: 20 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.5297, allocations: 0.857 MB / 1.532 GB, free: 15.16 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.5298, allocations: 96 kB / 1.532 GB, free: 15.07 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.5328, allocations: 1.629 MB / 1.533 GB, free: 13.44 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.5332, allocations: 422.8 kB / 1.534 GB, free: 13.02 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.5338, allocations: 0.5833 MB / 1.534 GB, free: 12.44 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.5367, allocations: 2.028 MB / 1.536 GB, free: 10.4 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5367, allocations: 0 / 1.536 GB, free: 10.4 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5367, allocations: 0 / 1.536 GB, free: 10.4 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.5367, allocations: 0 / 1.536 GB, free: 10.4 MB / 1.233 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.002459/0.5392, allocations: 1.395 MB / 1.538 GB, free: 8.973 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5392, allocations: 12.03 kB / 1.538 GB, free: 8.961 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.5417, allocations: 418.9 kB / 1.538 GB, free: 8.551 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.5432, allocations: 0.7323 MB / 1.539 GB, free: 7.785 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.5433, allocations: 58 kB / 1.539 GB, free: 7.73 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.5434, allocations: 72 kB / 1.539 GB, free: 7.66 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.5452, allocations: 0.9944 MB / 1.54 GB, free: 6.645 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5452, allocations: 0 / 1.54 GB, free: 6.645 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.5453, allocations: 32 kB / 1.54 GB, free: 6.613 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.5453, allocations: 30 kB / 1.54 GB, free: 6.586 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.5472, allocations: 0.8704 MB / 1.541 GB, free: 5.711 MB / 1.233 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.005917/0.5531, allocations: 3.44 MB / 1.544 GB, free: 2.09 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.5546, allocations: 0.595 MB / 1.545 GB, free: 1.488 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.5553, allocations: 322.7 kB / 1.545 GB, free: 1.172 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.5554, allocations: 20.31 kB / 1.545 GB, free: 1.152 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5555, allocations: 43.2 kB / 1.545 GB, free: 1.102 MB / 1.233 GB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.5555, allocations: 0 / 1.545 GB, free: 1.102 MB / 1.233 GB Notification: Performance of matching and sorting (n=41): time 0.007499/0.563, allocations: 2.259 MB / 1.547 GB, free: 14.8 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.563, allocations: 55.41 kB / 1.547 GB, free: 14.73 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.564, allocations: 0.7902 MB / 1.548 GB, free: 13.94 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.5641, allocations: 41.69 kB / 1.548 GB, free: 13.89 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.5644, allocations: 460.5 kB / 1.549 GB, free: 13.43 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5646, allocations: 150.7 kB / 1.549 GB, free: 13.29 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.5647, allocations: 102.3 kB / 1.549 GB, free: 13.18 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5649, allocations: 326 kB / 1.549 GB, free: 12.86 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/0.5656, allocations: 301.1 kB / 1.55 GB, free: 12.56 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.5664, allocations: 413 kB / 1.55 GB, free: 12.12 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.004965/0.5714, allocations: 1.791 MB / 1.552 GB, free: 10.29 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5714, allocations: 4 kB / 1.552 GB, free: 10.29 MB / 1.248 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002993/0.5744, allocations: 1.039 MB / 1.553 GB, free: 9.238 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5744, allocations: 8 kB / 1.553 GB, free: 9.23 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5744, allocations: 0 / 1.553 GB, free: 9.23 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.575, allocations: 192.8 kB / 1.553 GB, free: 9.039 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.5756, allocations: 147.8 kB / 1.553 GB, free: 8.895 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.5794, allocations: 2.122 MB / 1.555 GB, free: 6.66 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/0.5803, allocations: 56 kB / 1.555 GB, free: 6.605 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.5804, allocations: 20 kB / 1.555 GB, free: 6.586 MB / 1.248 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.0004385/0.5808, allocations: 277.6 kB / 1.555 GB, free: 6.305 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.581, allocations: 95.38 kB / 1.556 GB, free: 6.211 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.5811, allocations: 92.23 kB / 1.556 GB, free: 6.117 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5811, allocations: 8 kB / 1.556 GB, free: 6.109 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5811, allocations: 0 / 1.556 GB, free: 6.109 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002673/0.5838, allocations: 0.9026 MB / 1.556 GB, free: 5.172 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/0.5888, allocations: 2.075 MB / 1.559 GB, free: 3.004 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5888, allocations: 4 kB / 1.559 GB, free: 3 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.5894, allocations: 127.8 kB / 1.559 GB, free: 2.875 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005194/0.5899, allocations: 184.9 kB / 1.559 GB, free: 2.691 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.5899, allocations: 15.98 kB / 1.559 GB, free: 2.676 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.5935, allocations: 2.088 MB / 1.561 GB, free: 488 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5935, allocations: 7.938 kB / 1.561 GB, free: 480 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/0.5972, allocations: 1.417 MB / 1.562 GB, free: 14.99 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.5976, allocations: 163.3 kB / 1.562 GB, free: 14.83 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.5977, allocations: 19.92 kB / 1.562 GB, free: 14.81 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007643/0.5985, allocations: 58.19 kB / 1.562 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.5986, allocations: 51.81 kB / 1.563 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.5986, allocations: 23.98 kB / 1.563 GB, free: 14.68 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007115/0.5994, allocations: 0.5498 MB / 1.563 GB, free: 14.13 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.5994, allocations: 0 / 1.563 GB, free: 14.13 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008201/0.6002, allocations: 279.9 kB / 1.563 GB, free: 13.86 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.0003308/0.6005, allocations: 201.9 kB / 1.564 GB, free: 13.66 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.6024, allocations: 0.782 MB / 1.564 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6024, allocations: 4 kB / 1.564 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.6033, allocations: 443.5 kB / 1.565 GB, free: 12.41 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.6055, allocations: 0.5482 MB / 1.565 GB, free: 11.87 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.6097, allocations: 1.99 MB / 1.567 GB, free: 9.801 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.6103, allocations: 1.04 MB / 1.568 GB, free: 8.734 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.6106, allocations: 67.42 kB / 1.568 GB, free: 8.668 MB / 1.264 GB Notification: Performance of SimCode: time 9.92e-07/0.6106, allocations: 4 kB / 1.568 GB, free: 8.664 MB / 1.264 GB Notification: Performance of Templates: time 0.02514/0.6357, allocations: 19.06 MB / 1.587 GB, free: 5.73 MB / 1.279 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: 13.306338147987844]