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.002611/0.002611, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.003386/0.003386, allocations: 169.3 kB / 23.56 MB, free: 0.8672 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.611/1.611, allocations: 177.1 MB / 203.9 MB, free: 5.324 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.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 5.119e-06/5.119e-06, allocations: 7.938 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.772e-05/4.284e-05, allocations: 4.984 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2733/0.2734, allocations: 187.5 MB / 0.9696 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.2857, allocations: 5.84 MB / 0.9753 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.2874, allocations: 59.5 kB / 0.9753 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.2894, allocations: 0.5588 MB / 0.9759 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.005812/0.2952, allocations: 1.97 MB / 0.9778 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.2988, allocations: 1.254 MB / 0.979 GB, free: 6.895 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005013/0.3039, allocations: 3.04 MB / 0.982 GB, free: 3.844 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.3055, allocations: 0.7828 MB / 0.9827 GB, free: 3.051 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.3089, allocations: 1.461 MB / 0.9842 GB, free: 1.586 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.3115, allocations: 0.8944 MB / 0.985 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.3119, allocations: 108 kB / 0.9851 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.3152, allocations: 1.211 MB / 0.9863 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008492/0.3161, allocations: 0.4986 MB / 0.9868 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3173, allocations: 483 kB / 0.9873 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.3217, allocations: 2.193 MB / 0.9894 GB, free: 12.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3217, allocations: 4 kB / 0.9894 GB, free: 12.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3217, allocations: 0 / 0.9894 GB, free: 12.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.197e-05/0.3217, allocations: 4 kB / 0.9894 GB, free: 12.21 MB / 0.948 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.003667/0.3254, allocations: 1.651 MB / 0.991 GB, free: 10.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3254, allocations: 8.031 kB / 0.991 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.3278, allocations: 426.4 kB / 0.9914 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3297, allocations: 0.8101 MB / 0.9922 GB, free: 9.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.3298, allocations: 62 kB / 0.9923 GB, free: 9.188 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.33, allocations: 92 kB / 0.9924 GB, free: 9.098 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.332, allocations: 1.208 MB / 0.9936 GB, free: 7.762 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.332, allocations: 4 kB / 0.9936 GB, free: 7.758 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3321, allocations: 39.94 kB / 0.9936 GB, free: 7.719 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.3322, allocations: 34 kB / 0.9936 GB, free: 7.688 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.3335, allocations: 0.5621 MB / 0.9942 GB, free: 7.121 MB / 0.948 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.0064/0.3399, allocations: 2.696 MB / 0.9968 GB, free: 4.375 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.3407, allocations: 385.1 kB / 0.9972 GB, free: 3.984 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.3412, allocations: 209 kB / 0.9974 GB, free: 3.777 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.3414, allocations: 32.41 kB / 0.9974 GB, free: 3.746 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.3414, allocations: 53.83 kB / 0.9975 GB, free: 3.684 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.786e-06/0.3414, allocations: 0 / 0.9975 GB, free: 3.684 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.00405/0.3455, allocations: 1.396 MB / 0.9988 GB, free: 2.246 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3455, allocations: 55.91 kB / 0.9989 GB, free: 2.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3466, allocations: 0.7807 MB / 0.9997 GB, free: 1.387 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/0.3467, allocations: 41.7 kB / 0.9997 GB, free: 1.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.3472, allocations: 0.573 MB / 1 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.3475, allocations: 194.5 kB / 1 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.3477, allocations: 132 kB / 1.001 GB, free: 440 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004512/0.3482, allocations: 0.6055 MB / 1.001 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.3486, allocations: 157.2 kB / 1.001 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.3492, allocations: 370.5 kB / 1.002 GB, free: 15.23 MB / 0.9636 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.003773/0.3529, allocations: 1.158 MB / 1.003 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3529, allocations: 0 / 1.003 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001423/0.3544, allocations: 0.6293 MB / 1.003 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3544, allocations: 10.19 kB / 1.003 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3544, allocations: 4 kB / 1.003 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.3548, allocations: 83.31 kB / 1.003 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/0.3554, allocations: 135.8 kB / 1.004 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.3595, allocations: 3.874 MB / 1.007 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.3603, allocations: 19.98 kB / 1.007 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.3603, allocations: 24 kB / 1.007 GB, free: 8.988 MB / 0.9636 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.0005071/0.3609, allocations: 287.4 kB / 1.008 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.3611, allocations: 95.47 kB / 1.008 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.3613, allocations: 91.34 kB / 1.008 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3613, allocations: 4 kB / 1.008 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3613, allocations: 0 / 1.008 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.3624, allocations: 0.718 MB / 1.009 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.366, allocations: 1.63 MB / 1.01 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.366, allocations: 7.984 kB / 1.01 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.3666, allocations: 112.3 kB / 1.01 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.3669, allocations: 67.64 kB / 1.01 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.3669, allocations: 11.94 kB / 1.01 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.3691, allocations: 2.053 MB / 1.012 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/0.3691, allocations: 7.938 kB / 1.012 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.3708, allocations: 0.9403 MB / 1.013 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/0.3713, allocations: 143.4 kB / 1.013 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.3715, allocations: 16 kB / 1.013 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/0.3722, allocations: 25.67 kB / 1.013 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.3723, allocations: 51.8 kB / 1.014 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.3724, allocations: 27.98 kB / 1.014 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006908/0.3731, allocations: 495 kB / 1.014 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.3731, allocations: 0 / 1.014 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001022/0.3741, allocations: 280 kB / 1.014 GB, free: 1.559 MB / 0.9636 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.000382/0.3745, allocations: 179.1 kB / 1.014 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.3759, allocations: 0.8031 MB / 1.015 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3759, allocations: 0 / 1.015 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.3766, allocations: 407.9 kB / 1.016 GB, free: 116 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.3792, allocations: 0.5107 MB / 1.016 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.3826, allocations: 1.696 MB / 1.018 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.3832, allocations: 484.2 kB / 1.018 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006737/0.3839, allocations: 162.3 kB / 1.018 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.3841, allocations: 60.5 kB / 1.018 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of SimCode: time 1.483e-06/0.3841, allocations: 0 / 1.018 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of Templates: time 0.03675/0.4208, allocations: 18.51 MB / 1.037 GB, free: 11.03 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] 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: 9.539758482016623]