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.001495/0.001495, 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.001647/0.001647, allocations: 219.7 kB / 23.01 MB, free: 4.609 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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 2.922/2.922, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.001878/0.001878, allocations: 67.53 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3001, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2044/0.5045, allocations: 194.6 MB / 1.544 GB, free: 4.641 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.009167/0.5136, allocations: 5.784 MB / 1.55 GB, free: 14.85 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.5147, allocations: 55.56 kB / 1.55 GB, free: 14.8 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.5162, allocations: 0.6136 MB / 1.55 GB, free: 14.18 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.5201, allocations: 1.715 MB / 1.552 GB, free: 12.46 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.523, allocations: 1.257 MB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003299/0.5263, allocations: 2.631 MB / 1.556 GB, free: 8.57 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009734/0.5273, allocations: 0.6838 MB / 1.557 GB, free: 7.875 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.5295, allocations: 1.281 MB / 1.558 GB, free: 6.59 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.5313, allocations: 0.8479 MB / 1.559 GB, free: 5.742 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.5315, allocations: 96 kB / 1.559 GB, free: 5.648 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.5343, allocations: 1.625 MB / 1.56 GB, free: 4.02 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.5348, allocations: 426.6 kB / 1.561 GB, free: 3.602 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.5354, allocations: 0.5872 MB / 1.561 GB, free: 3.012 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.5381, allocations: 2.032 MB / 1.563 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5381, allocations: 4 kB / 1.563 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5382, allocations: 3.938 kB / 1.563 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.5382, allocations: 0 / 1.563 GB, free: 0.9648 MB / 1.248 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.002248/0.5404, allocations: 1.391 MB / 1.565 GB, free: 15.54 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5404, allocations: 12.03 kB / 1.565 GB, free: 15.53 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.5429, allocations: 418.9 kB / 1.565 GB, free: 15.12 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5443, allocations: 0.7324 MB / 1.566 GB, free: 14.36 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.5444, allocations: 54 kB / 1.566 GB, free: 14.3 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.5445, allocations: 72 kB / 1.566 GB, free: 14.23 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.5462, allocations: 0.9788 MB / 1.567 GB, free: 13.23 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5463, allocations: 8 kB / 1.567 GB, free: 13.23 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.5463, allocations: 39.92 kB / 1.567 GB, free: 13.19 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.5464, allocations: 29.94 kB / 1.567 GB, free: 13.16 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.5482, allocations: 0.8705 MB / 1.568 GB, free: 12.29 MB / 1.264 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.006028/0.5543, allocations: 3.436 MB / 1.571 GB, free: 8.672 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.5558, allocations: 0.5947 MB / 1.572 GB, free: 8.07 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.5566, allocations: 325.2 kB / 1.572 GB, free: 7.75 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.5567, allocations: 28.3 kB / 1.572 GB, free: 7.723 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.5567, allocations: 39.22 kB / 1.572 GB, free: 7.676 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.5567, allocations: 0 / 1.572 GB, free: 7.676 MB / 1.264 GB Notification: Performance of matching and sorting (n=41): time 0.007494/0.5642, allocations: 2.241 MB / 1.574 GB, free: 5.395 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5643, allocations: 59.34 kB / 1.574 GB, free: 5.324 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.5653, allocations: 0.7941 MB / 1.575 GB, free: 4.523 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.5653, allocations: 37.64 kB / 1.575 GB, free: 4.48 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.5657, allocations: 460.5 kB / 1.576 GB, free: 4.023 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.5658, allocations: 150.7 kB / 1.576 GB, free: 3.875 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.566, allocations: 114.2 kB / 1.576 GB, free: 3.758 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5662, allocations: 322 kB / 1.576 GB, free: 3.438 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007313/0.5669, allocations: 305.1 kB / 1.576 GB, free: 3.137 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/0.5677, allocations: 409.1 kB / 1.577 GB, free: 2.703 MB / 1.264 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.004942/0.5727, allocations: 1.796 MB / 1.579 GB, free: 0.8672 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5727, allocations: 4 kB / 1.579 GB, free: 0.8633 MB / 1.264 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003001/0.5757, allocations: 1.035 MB / 1.58 GB, free: 15.82 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5757, allocations: 8 kB / 1.58 GB, free: 15.81 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.5757, allocations: 7.938 kB / 1.58 GB, free: 15.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.5763, allocations: 184.8 kB / 1.58 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.5769, allocations: 135.8 kB / 1.58 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.5807, allocations: 2.147 MB / 1.582 GB, free: 13.21 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.5816, allocations: 52 kB / 1.582 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.5817, allocations: 20 kB / 1.582 GB, free: 13.14 MB / 1.279 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.00045/0.5821, allocations: 269.7 kB / 1.582 GB, free: 12.87 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5823, allocations: 95.38 kB / 1.582 GB, free: 12.78 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.5825, allocations: 100.2 kB / 1.583 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5825, allocations: 4 kB / 1.583 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.5825, allocations: 0 / 1.583 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002758/0.5853, allocations: 0.8984 MB / 1.583 GB, free: 11.74 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/0.5904, allocations: 2.066 MB / 1.585 GB, free: 9.582 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.5904, allocations: 4.406 kB / 1.585 GB, free: 9.578 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/0.591, allocations: 131.7 kB / 1.586 GB, free: 9.449 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.5916, allocations: 196.6 kB / 1.586 GB, free: 9.254 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.5916, allocations: 12 kB / 1.586 GB, free: 9.242 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.5951, allocations: 2.088 MB / 1.588 GB, free: 7.043 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5951, allocations: 4.031 kB / 1.588 GB, free: 7.039 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.5989, allocations: 1.422 MB / 1.589 GB, free: 5.555 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.5993, allocations: 171.3 kB / 1.589 GB, free: 5.387 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5995, allocations: 12 kB / 1.589 GB, free: 5.375 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000804/0.6003, allocations: 60 kB / 1.589 GB, free: 5.316 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.6003, allocations: 39.81 kB / 1.589 GB, free: 5.277 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.6004, allocations: 31.97 kB / 1.59 GB, free: 5.246 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007291/0.6011, allocations: 0.5498 MB / 1.59 GB, free: 4.699 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.6011, allocations: 8 kB / 1.59 GB, free: 4.691 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008027/0.6019, allocations: 267.9 kB / 1.59 GB, free: 4.43 MB / 1.279 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.0003423/0.6023, allocations: 196.2 kB / 1.591 GB, free: 4.234 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.6042, allocations: 0.7786 MB / 1.591 GB, free: 3.441 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6042, allocations: 8.062 kB / 1.591 GB, free: 3.434 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.6051, allocations: 447 kB / 1.592 GB, free: 2.984 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.6072, allocations: 0.5516 MB / 1.592 GB, free: 2.441 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.6115, allocations: 1.995 MB / 1.594 GB, free: 380 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.6122, allocations: 1.04 MB / 1.595 GB, free: 15.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.6125, allocations: 67.42 kB / 1.595 GB, free: 15.24 MB / 1.295 GB Notification: Performance of SimCode: time 7.01e-07/0.6125, allocations: 0 / 1.595 GB, free: 15.24 MB / 1.295 GB Notification: Performance of Templates: time 0.5736/1.186, allocations: 19.07 MB / 1.614 GB, free: 254.8 MB / 1.295 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: 13.93566928000655]