Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00178/0.00178, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002336/0.002336, allocations: 213.8 kB / 22.99 MB, free: 4.941 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.713/2.713, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002115/0.002115, allocations: 66.45 kB / 1.118 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 169.9 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2282/0.5614, allocations: 168.5 MB / 1.448 GB, free: 2.75 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.5725, allocations: 5.436 MB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.5741, allocations: 59.5 kB / 1.454 GB, free: 13.25 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.576, allocations: 0.5514 MB / 1.454 GB, free: 12.69 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.5811, allocations: 1.696 MB / 1.456 GB, free: 10.99 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.585, allocations: 1.237 MB / 1.457 GB, free: 9.762 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004593/0.5896, allocations: 2.604 MB / 1.46 GB, free: 7.148 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.5911, allocations: 0.6877 MB / 1.46 GB, free: 6.449 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.5937, allocations: 1.101 MB / 1.461 GB, free: 5.344 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.596, allocations: 0.83 MB / 1.462 GB, free: 4.516 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.5962, allocations: 100 kB / 1.462 GB, free: 4.418 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.5994, allocations: 1.29 MB / 1.464 GB, free: 3.125 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006213/0.6001, allocations: 410.8 kB / 1.464 GB, free: 2.723 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008029/0.6009, allocations: 0.4901 MB / 1.464 GB, free: 2.23 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.6049, allocations: 1.989 MB / 1.466 GB, free: 240 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.605, allocations: 0 / 1.466 GB, free: 240 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.825e-06/0.605, allocations: 0 / 1.466 GB, free: 240 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.605, allocations: 0 / 1.466 GB, free: 240 kB / 1.154 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.002798/0.6078, allocations: 1.4 MB / 1.468 GB, free: 14.8 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6078, allocations: 8.031 kB / 1.468 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.6105, allocations: 414.9 kB / 1.468 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.6123, allocations: 0.7363 MB / 1.469 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.6123, allocations: 58 kB / 1.469 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.6125, allocations: 72 kB / 1.469 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.615, allocations: 1.363 MB / 1.47 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.615, allocations: 4 kB / 1.47 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.6151, allocations: 35.94 kB / 1.47 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.6151, allocations: 30 kB / 1.47 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.6171, allocations: 0.8627 MB / 1.471 GB, free: 11.09 MB / 1.17 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.006463/0.6236, allocations: 2.628 MB / 1.474 GB, free: 8.402 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.6253, allocations: 0.589 MB / 1.474 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008879/0.6261, allocations: 320.7 kB / 1.475 GB, free: 7.492 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.6263, allocations: 20.31 kB / 1.475 GB, free: 7.473 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.6263, allocations: 47.22 kB / 1.475 GB, free: 7.418 MB / 1.17 GB Notification: Performance of pre-optimization done (n=39): time 2.925e-06/0.6264, allocations: 0 / 1.475 GB, free: 7.418 MB / 1.17 GB Notification: Performance of matching and sorting (n=41): time 0.00831/0.6347, allocations: 2.236 MB / 1.477 GB, free: 5.141 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.6347, allocations: 63.28 kB / 1.477 GB, free: 5.066 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009315/0.6356, allocations: 0.6253 MB / 1.478 GB, free: 4.43 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.296e-05/0.6357, allocations: 37.7 kB / 1.478 GB, free: 4.387 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.6362, allocations: 468 kB / 1.478 GB, free: 3.926 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.6363, allocations: 146.7 kB / 1.478 GB, free: 3.781 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.6365, allocations: 106.3 kB / 1.478 GB, free: 3.672 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.6368, allocations: 374.8 kB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/0.6376, allocations: 305.1 kB / 1.479 GB, free: 2.996 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009355/0.6385, allocations: 468.4 kB / 1.479 GB, free: 2.492 MB / 1.17 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.005525/0.644, allocations: 1.803 MB / 1.481 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.644, allocations: 0 / 1.481 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003353/0.6474, allocations: 1.027 MB / 1.482 GB, free: 15.62 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.6474, allocations: 6.5 kB / 1.482 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6474, allocations: 4 kB / 1.482 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.6481, allocations: 188.8 kB / 1.482 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.6488, allocations: 143.8 kB / 1.483 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.653, allocations: 2.083 MB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009392/0.6539, allocations: 51.94 kB / 1.485 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.654, allocations: 24 kB / 1.485 GB, free: 13.02 MB / 1.186 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.0005031/0.6545, allocations: 273.6 kB / 1.485 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.6546, allocations: 71.58 kB / 1.485 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.6548, allocations: 82.78 kB / 1.485 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6548, allocations: 7.984 kB / 1.485 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6548, allocations: 4 kB / 1.485 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002905/0.6577, allocations: 0.891 MB / 1.486 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/0.6631, allocations: 1.868 MB / 1.488 GB, free: 9.695 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6631, allocations: 11.92 kB / 1.488 GB, free: 9.684 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.6637, allocations: 124.2 kB / 1.488 GB, free: 9.562 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005912/0.6643, allocations: 188.7 kB / 1.488 GB, free: 9.375 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.6644, allocations: 12 kB / 1.488 GB, free: 9.363 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/0.6682, allocations: 2.042 MB / 1.49 GB, free: 7.219 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.6682, allocations: 4 kB / 1.49 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/0.6723, allocations: 1.394 MB / 1.491 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.6728, allocations: 159.4 kB / 1.492 GB, free: 5.602 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.6729, allocations: 8 kB / 1.492 GB, free: 5.594 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/0.6737, allocations: 61.62 kB / 1.492 GB, free: 5.535 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6738, allocations: 43.81 kB / 1.492 GB, free: 5.492 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.6739, allocations: 31.98 kB / 1.492 GB, free: 5.461 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006059/0.6745, allocations: 443 kB / 1.492 GB, free: 5.035 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6745, allocations: 0 / 1.492 GB, free: 5.035 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008962/0.6754, allocations: 267.9 kB / 1.492 GB, free: 4.773 MB / 1.186 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.0003883/0.6758, allocations: 190.1 kB / 1.493 GB, free: 4.582 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.6779, allocations: 0.7867 MB / 1.493 GB, free: 3.785 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.6779, allocations: 3.938 kB / 1.493 GB, free: 3.781 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6789, allocations: 447.4 kB / 1.494 GB, free: 3.332 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.6809, allocations: 434.3 kB / 1.494 GB, free: 2.914 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.6857, allocations: 1.96 MB / 1.496 GB, free: 0.875 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.6862, allocations: 453.8 kB / 1.497 GB, free: 416 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.6864, allocations: 67.42 kB / 1.497 GB, free: 348 kB / 1.186 GB Notification: Performance of SimCode: time 1.082e-06/0.6864, allocations: 0 / 1.497 GB, free: 348 kB / 1.186 GB Notification: Performance of Templates: time 0.02685/0.7133, allocations: 17.75 MB / 1.514 GB, free: 14.69 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.23012709710747]