Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001946/0.001946, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002814/0.002814, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.492/3.492, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.69e-05/3.895e-05, allocations: 6.016 kB / 0.8775 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8889/0.889, allocations: 184.2 MB / 1.057 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.9033, allocations: 13.39 MB / 1.07 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.9046, allocations: 43.2 kB / 1.07 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.9059, allocations: 427.2 kB / 1.071 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.9086, allocations: 1.233 MB / 1.072 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.9104, allocations: 0.7666 MB / 1.073 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.9128, allocations: 2.031 MB / 1.075 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008438/0.9136, allocations: 0.6094 MB / 1.075 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.918, allocations: 2.236 MB / 1.078 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.9195, allocations: 0.6277 MB / 1.078 GB, free: 47.25 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.9196, allocations: 79.41 kB / 1.078 GB, free: 47.25 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.9211, allocations: 0.741 MB / 1.079 GB, free: 47.18 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.9215, allocations: 414.5 kB / 1.079 GB, free: 47.14 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.9219, allocations: 373.4 kB / 1.08 GB, free: 47.09 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.9236, allocations: 1.513 MB / 1.081 GB, free: 46.95 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.9236, allocations: 6.531 kB / 1.081 GB, free: 46.95 MB / 1.01 GB Notification: Performance of FrontEnd: time 7.41e-07/0.9236, allocations: 1.062 kB / 1.081 GB, free: 46.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.9236, allocations: 0 / 1.081 GB, free: 46.95 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001504/0.9251, allocations: 1.345 MB / 1.083 GB, free: 46.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.468e-05/0.9252, allocations: 8.125 kB / 1.083 GB, free: 46.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.9263, allocations: 294.7 kB / 1.083 GB, free: 46.15 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.9273, allocations: 0.6263 MB / 1.083 GB, free: 45.91 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.9273, allocations: 56.78 kB / 1.084 GB, free: 45.91 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.9274, allocations: 81.52 kB / 1.084 GB, free: 45.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.9286, allocations: 1.013 MB / 1.085 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.9287, allocations: 3.188 kB / 1.085 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.9287, allocations: 36 kB / 1.085 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.9288, allocations: 29.59 kB / 1.085 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.9295, allocations: 425.5 kB / 1.085 GB, free: 45.38 MB / 1.01 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.003453/0.9329, allocations: 4.938 MB / 1.09 GB, free: 41.84 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.9335, allocations: 390.1 kB / 1.09 GB, free: 41.73 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.9338, allocations: 168.4 kB / 1.09 GB, free: 41.69 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.9339, allocations: 28.95 kB / 1.09 GB, free: 41.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.9339, allocations: 48.22 kB / 1.09 GB, free: 41.65 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.9339, allocations: 0.875 kB / 1.09 GB, free: 41.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.002218/0.9361, allocations: 1.286 MB / 1.092 GB, free: 41.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.9362, allocations: 113.3 kB / 1.092 GB, free: 40.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.9368, allocations: 0.6563 MB / 1.092 GB, free: 40.77 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.9368, allocations: 38.39 kB / 1.093 GB, free: 40.74 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.9371, allocations: 0.4971 MB / 1.093 GB, free: 40.46 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.9372, allocations: 187.2 kB / 1.093 GB, free: 40.35 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.9374, allocations: 142.2 kB / 1.093 GB, free: 40.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.9375, allocations: 0.5839 MB / 1.094 GB, free: 39.83 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.9377, allocations: 115.1 kB / 1.094 GB, free: 39.83 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.9381, allocations: 0.5775 MB / 1.095 GB, free: 39.27 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.94, allocations: 0.9448 MB / 1.095 GB, free: 38.93 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.94, allocations: 1.031 kB / 1.095 GB, free: 38.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007743/0.9408, allocations: 0.5305 MB / 1.096 GB, free: 38.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.9408, allocations: 16.38 kB / 1.096 GB, free: 38.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.9408, allocations: 5.375 kB / 1.096 GB, free: 38.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.9408, allocations: 11.98 kB / 1.096 GB, free: 38.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.9413, allocations: 128.6 kB / 1.096 GB, free: 38.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.9413, allocations: 9.312 kB / 1.096 GB, free: 38.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.9419, allocations: 27.95 kB / 1.096 GB, free: 38.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.9419, allocations: 32.62 kB / 1.096 GB, free: 38.86 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003131/0.9422, allocations: 254.4 kB / 1.096 GB, free: 38.69 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.9424, allocations: 81.42 kB / 1.097 GB, free: 38.66 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.9426, allocations: 78.77 kB / 1.097 GB, free: 38.64 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.9426, allocations: 6.031 kB / 1.097 GB, free: 38.64 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.9426, allocations: 1.156 kB / 1.097 GB, free: 38.64 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006506/0.9433, allocations: 0.5891 MB / 1.097 GB, free: 38.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.9457, allocations: 1.617 MB / 1.099 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.9457, allocations: 4.031 kB / 1.099 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.9461, allocations: 103 kB / 1.099 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.9461, allocations: 7 kB / 1.099 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.9462, allocations: 17.56 kB / 1.099 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.9462, allocations: 14.03 kB / 1.099 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.9462, allocations: 4.344 kB / 1.099 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009593/0.9472, allocations: 0.7792 MB / 1.1 GB, free: 37.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.9474, allocations: 111.2 kB / 1.1 GB, free: 37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.9475, allocations: 16.75 kB / 1.1 GB, free: 37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.9479, allocations: 21.28 kB / 1.1 GB, free: 37 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.948, allocations: 36.78 kB / 1.1 GB, free: 37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.9481, allocations: 25.45 kB / 1.1 GB, free: 37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004364/0.9485, allocations: 404.9 kB / 1.1 GB, free: 36.87 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.9485, allocations: 0.8125 kB / 1.1 GB, free: 36.87 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009783/0.9495, allocations: 205.1 kB / 1.1 GB, free: 36.86 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000541/0.95, allocations: 193.4 kB / 1.101 GB, free: 36.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007718/0.9508, allocations: 387.1 kB / 1.101 GB, free: 36.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9508, allocations: 1.062 kB / 1.101 GB, free: 36.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.9511, allocations: 180.6 kB / 1.101 GB, free: 36.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.9526, allocations: 335.5 kB / 1.102 GB, free: 36.71 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.955, allocations: 1.512 MB / 1.103 GB, free: 35.89 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.9555, allocations: 425 kB / 1.103 GB, free: 35.79 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005527/0.9561, allocations: 152.1 kB / 1.104 GB, free: 35.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.9562, allocations: 51.97 kB / 1.104 GB, free: 35.77 MB / 1.01 GB Notification: Performance of SimCode: time 1.403e-06/0.9562, allocations: 0.9688 kB / 1.104 GB, free: 35.77 MB / 1.01 GB Notification: Performance of Templates: time 0.02785/0.9841, allocations: 11.97 MB / 1.115 GB, free: 34.61 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: 10.281476124073379]