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.00187/0.00187, 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.002226/0.002226, allocations: 223.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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.176/3.176, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.002177/0.002177, allocations: 68.33 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3541, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2208/0.5749, allocations: 168.6 MB / 1.491 GB, free: 8.691 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.5858, allocations: 5.445 MB / 1.496 GB, free: 3.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.5875, allocations: 55.56 kB / 1.496 GB, free: 3.176 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.5895, allocations: 0.5552 MB / 1.497 GB, free: 2.617 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.5946, allocations: 1.7 MB / 1.499 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.5982, allocations: 1.222 MB / 1.5 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003931/0.6022, allocations: 2.614 MB / 1.502 GB, free: 13.07 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.6034, allocations: 0.676 MB / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.6064, allocations: 1.273 MB / 1.504 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.6086, allocations: 0.8365 MB / 1.505 GB, free: 10.28 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.6088, allocations: 96 kB / 1.505 GB, free: 10.18 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.6123, allocations: 1.266 MB / 1.506 GB, free: 8.914 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.6128, allocations: 418.7 kB / 1.507 GB, free: 8.504 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008046/0.6136, allocations: 498 kB / 1.507 GB, free: 8.016 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.6169, allocations: 1.993 MB / 1.509 GB, free: 6.016 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6169, allocations: 0 / 1.509 GB, free: 6.016 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6169, allocations: 0 / 1.509 GB, free: 6.016 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.6169, allocations: 4 kB / 1.509 GB, free: 6.012 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.002575/0.6195, allocations: 1.391 MB / 1.51 GB, free: 4.586 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6196, allocations: 8.031 kB / 1.51 GB, free: 4.578 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.6222, allocations: 422.9 kB / 1.511 GB, free: 4.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.6241, allocations: 0.7362 MB / 1.512 GB, free: 3.395 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.6241, allocations: 58 kB / 1.512 GB, free: 3.34 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.6243, allocations: 72 kB / 1.512 GB, free: 3.27 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.6266, allocations: 1.363 MB / 1.513 GB, free: 1.793 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.6266, allocations: 3.984 kB / 1.513 GB, free: 1.789 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/0.6267, allocations: 32 kB / 1.513 GB, free: 1.758 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.6267, allocations: 30 kB / 1.513 GB, free: 1.73 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.6288, allocations: 0.8626 MB / 1.514 GB, free: 0.8633 MB / 1.201 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.0062/0.635, allocations: 2.621 MB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.6366, allocations: 0.5929 MB / 1.517 GB, free: 13.58 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.6374, allocations: 313.3 kB / 1.517 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.6375, allocations: 28.25 kB / 1.517 GB, free: 13.24 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.6376, allocations: 39.22 kB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 3.015e-06/0.6376, allocations: 0 / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.008475/0.6461, allocations: 2.236 MB / 1.52 GB, free: 10.92 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.6461, allocations: 63.39 kB / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.647, allocations: 0.6252 MB / 1.52 GB, free: 10.21 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.6471, allocations: 37.7 kB / 1.52 GB, free: 10.17 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.6475, allocations: 468 kB / 1.521 GB, free: 9.707 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.6476, allocations: 150.7 kB / 1.521 GB, free: 9.559 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.6478, allocations: 102.3 kB / 1.521 GB, free: 9.453 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.648, allocations: 382.8 kB / 1.521 GB, free: 9.07 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/0.6488, allocations: 297.1 kB / 1.522 GB, free: 8.781 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009596/0.6498, allocations: 460.5 kB / 1.522 GB, free: 8.281 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.00539/0.6552, allocations: 1.799 MB / 1.524 GB, free: 6.445 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.6552, allocations: 0 / 1.524 GB, free: 6.445 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00328/0.6585, allocations: 1.035 MB / 1.525 GB, free: 5.398 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.6585, allocations: 8 kB / 1.525 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6585, allocations: 8.094 kB / 1.525 GB, free: 5.383 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006274/0.6591, allocations: 184.7 kB / 1.525 GB, free: 5.199 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.6599, allocations: 143.8 kB / 1.525 GB, free: 5.059 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.664, allocations: 2.089 MB / 1.527 GB, free: 2.875 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6651, allocations: 52.02 kB / 1.527 GB, free: 2.824 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.6651, allocations: 23.98 kB / 1.527 GB, free: 2.801 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.0005124/0.6656, allocations: 273.6 kB / 1.528 GB, free: 2.523 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.6658, allocations: 75.53 kB / 1.528 GB, free: 2.449 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.666, allocations: 86.78 kB / 1.528 GB, free: 2.355 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.666, allocations: 4 kB / 1.528 GB, free: 2.352 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.666, allocations: 4 kB / 1.528 GB, free: 2.348 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002874/0.6688, allocations: 0.8949 MB / 1.529 GB, free: 1.418 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.6742, allocations: 1.872 MB / 1.53 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.6742, allocations: 4.188 kB / 1.53 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.6748, allocations: 128.2 kB / 1.531 GB, free: 15.33 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005814/0.6754, allocations: 188.7 kB / 1.531 GB, free: 15.14 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.6754, allocations: 16 kB / 1.531 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.6792, allocations: 2.037 MB / 1.533 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.6792, allocations: 7.938 kB / 1.533 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.6833, allocations: 1.409 MB / 1.534 GB, free: 11.51 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.6839, allocations: 143.4 kB / 1.534 GB, free: 11.37 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.684, allocations: 16 kB / 1.534 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.6848, allocations: 56.19 kB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.6849, allocations: 43.81 kB / 1.534 GB, free: 11.26 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.685, allocations: 31.98 kB / 1.534 GB, free: 11.23 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006059/0.6856, allocations: 439 kB / 1.535 GB, free: 10.8 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6856, allocations: 0 / 1.535 GB, free: 10.8 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009394/0.6865, allocations: 271.9 kB / 1.535 GB, free: 10.54 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.0004197/0.687, allocations: 189.7 kB / 1.535 GB, free: 10.35 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.6891, allocations: 0.7819 MB / 1.536 GB, free: 9.551 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6891, allocations: 0 / 1.536 GB, free: 9.551 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009921/0.6901, allocations: 447.4 kB / 1.537 GB, free: 9.105 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.6922, allocations: 432.9 kB / 1.537 GB, free: 8.691 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.6969, allocations: 1.968 MB / 1.539 GB, free: 6.641 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.6974, allocations: 449.9 kB / 1.539 GB, free: 6.176 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.6977, allocations: 63.42 kB / 1.539 GB, free: 6.113 MB / 1.232 GB Notification: Performance of SimCode: time 1.172e-06/0.6977, allocations: 0 / 1.539 GB, free: 6.113 MB / 1.232 GB Notification: Performance of Templates: time 0.02921/0.7269, allocations: 17.73 MB / 1.557 GB, free: 4.477 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.112678120378405]