Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001647/0.001647, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002151/0.002151, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.809/2.809, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.253e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.248/0.248, allocations: 168.3 MB / 0.9508 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.2592, allocations: 5.453 MB / 0.9561 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.2611, allocations: 55.5 kB / 0.9562 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.2634, allocations: 0.5628 MB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006581/0.27, allocations: 1.974 MB / 0.9587 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.2739, allocations: 1.242 MB / 0.9599 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00533/0.2793, allocations: 3.044 MB / 0.9628 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.2812, allocations: 0.7711 MB / 0.9636 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.2852, allocations: 1.461 MB / 0.965 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003163/0.2884, allocations: 0.8872 MB / 0.9659 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005401/0.2889, allocations: 108 kB / 0.966 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/0.2935, allocations: 1.211 MB / 0.9672 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.2946, allocations: 0.4947 MB / 0.9677 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.2964, allocations: 483 kB / 0.9681 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.302, allocations: 2.17 MB / 0.9702 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.302, allocations: 0 / 0.9702 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595e-06/0.302, allocations: 0 / 0.9702 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.489e-05/0.3021, allocations: 3.938 kB / 0.9702 GB, free: 15.96 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00435/0.3065, allocations: 1.458 MB / 0.9717 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3065, allocations: 8.031 kB / 0.9717 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.3092, allocations: 426.4 kB / 0.9721 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.3111, allocations: 0.8346 MB / 0.9729 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.3112, allocations: 62 kB / 0.9729 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.3114, allocations: 96 kB / 0.973 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.3138, allocations: 1.369 MB / 0.9744 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.3138, allocations: 0 / 0.9744 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.3139, allocations: 39.94 kB / 0.9744 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/0.314, allocations: 37.98 kB / 0.9745 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.3158, allocations: 0.8159 MB / 0.9752 GB, free: 10.65 MB / 0.9323 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.005955/0.3217, allocations: 2.41 MB / 0.9776 GB, free: 8.195 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.3226, allocations: 483.8 kB / 0.9781 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.3231, allocations: 278.2 kB / 0.9783 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.3233, allocations: 28.42 kB / 0.9784 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.3234, allocations: 46.95 kB / 0.9784 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 2.335e-06/0.3234, allocations: 0 / 0.9784 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.004665/0.328, allocations: 1.722 MB / 0.9801 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3281, allocations: 55.91 kB / 0.9801 GB, free: 5.535 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3291, allocations: 0.641 MB / 0.9808 GB, free: 4.887 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/0.3292, allocations: 37.7 kB / 0.9808 GB, free: 4.844 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.3296, allocations: 492 kB / 0.9813 GB, free: 4.355 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.3298, allocations: 182.4 kB / 0.9814 GB, free: 4.176 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.3301, allocations: 118.2 kB / 0.9816 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.3303, allocations: 382.8 kB / 0.9819 GB, free: 3.672 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.3308, allocations: 237.2 kB / 0.9821 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.3315, allocations: 412.5 kB / 0.9825 GB, free: 2.992 MB / 0.9323 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.004102/0.3356, allocations: 1.449 MB / 0.984 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3356, allocations: 0 / 0.984 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001805/0.3374, allocations: 0.803 MB / 0.9847 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.3374, allocations: 8 kB / 0.9847 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3374, allocations: 4 kB / 0.9847 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.3378, allocations: 94 kB / 0.9848 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.3386, allocations: 147.8 kB / 0.985 GB, free: 448 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.343, allocations: 3.04 MB / 0.9879 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.3438, allocations: 23.98 kB / 0.988 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.3439, allocations: 20 kB / 0.988 GB, free: 13.15 MB / 0.948 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006149/0.3445, allocations: 301.6 kB / 0.9883 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.3448, allocations: 103.4 kB / 0.9884 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.345, allocations: 91.42 kB / 0.9885 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.345, allocations: 7.984 kB / 0.9885 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.345, allocations: 0 / 0.9885 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/0.3463, allocations: 0.8441 MB / 0.9893 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.3497, allocations: 1.526 MB / 0.9908 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.3497, allocations: 8 kB / 0.9908 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.3503, allocations: 132.2 kB / 0.9909 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.3506, allocations: 68.81 kB / 0.991 GB, free: 9.895 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.3506, allocations: 15.94 kB / 0.991 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.353, allocations: 1.644 MB / 0.9926 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.353, allocations: 7.969 kB / 0.9926 GB, free: 8.125 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.355, allocations: 1.073 MB / 0.9937 GB, free: 6.996 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.3554, allocations: 143.5 kB / 0.9938 GB, free: 6.855 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.3556, allocations: 16.19 kB / 0.9938 GB, free: 6.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/0.3563, allocations: 38.2 kB / 0.9938 GB, free: 6.805 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.3565, allocations: 51.67 kB / 0.9939 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/0.3566, allocations: 32.05 kB / 0.9939 GB, free: 6.723 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000755/0.3573, allocations: 459 kB / 0.9944 GB, free: 6.277 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.3573, allocations: 0 / 0.9944 GB, free: 6.277 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001169/0.3585, allocations: 283.9 kB / 0.9946 GB, free: 6 MB / 0.948 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 (45): * Single equations (assignments): 44 * 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.0004574/0.3589, allocations: 167.1 kB / 0.9948 GB, free: 5.828 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.3605, allocations: 0.7803 MB / 0.9956 GB, free: 5.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.3606, allocations: 4 kB / 0.9956 GB, free: 5.016 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007312/0.3613, allocations: 407.7 kB / 0.996 GB, free: 4.605 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.3638, allocations: 0.5156 MB / 0.9965 GB, free: 4.109 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.3676, allocations: 1.746 MB / 0.9982 GB, free: 2.281 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/0.3684, allocations: 0.4884 MB / 0.9986 GB, free: 1.762 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008492/0.3693, allocations: 194.3 kB / 0.9988 GB, free: 1.566 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3695, allocations: 68.42 kB / 0.9989 GB, free: 1.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/0.3695, allocations: 0 / 0.9989 GB, free: 1.5 MB / 0.948 GB Notification: Performance of Templates: time 0.03716/0.4067, allocations: 18.24 MB / 1.017 GB, free: 15.7 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.832583211944439]